On Wed 23 Jan 2013, Michael Biebl wrote: > On 23.01.2013 11:47, Paul Slootman wrote: > > > The message is given by invoke-rc.d, NOT by the init script!
> So it's the policy-rc.d layer which is causing that warning (not error) > message. What are you suggesting I should take into account here? > The only thing I can do is to stop using that crappy invoke-rc.d altogether. You're already redirecting away the standard output, how about also redirecting away standard error output? invoke-rc.d rsyslog rotate > /dev/null 2>&1 Not very nice, but at least it will silence invoke-rc.d. Alternatively the sysv-rc people might want to provide some hook for invoke-rc.d so that policy-rc.d might indicate what to do with unknown actions. I've been looking but can't find any way of suppressing the invoke-rc.d output via the policy layer. invoke-rc.d rsyslog rotate 2>&1 > /dev/null | grep -v 'action rotate is unknown' >&2 Might also work, sending stderr to the usual place although that will exit with non-zero if there is no error, and vice versa :( Paul -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org