reopen 672218 thanks On Wed 09 May 2012, Michael Biebl wrote: > On 09.05.2012 10:20, Arne Wichmann wrote: > > > > For some time now I receive some new error messages by mail from cron: > > > > /etc/cron.daily/logrotate: > > > > invoke-rc.d: action rotate is unknown, but proceeding anyway. > > > > > > As far as I can see they are coming from /etc/logrotate.d/rsyslog : > > > > --- snip --- > > postrotate > > invoke-rc.d rsyslog rotate > /dev/null > > endscript > > --- snip --- > > You are not using the initscript that is provided by the Debian package: > > http://anonscm.debian.org/gitweb/?p=collab-maint/rsyslog.git;a=blob;f=debian/rsyslog.init;hb=HEAD#l119
That is NOT the problem. I am getting the same on a clean install of a reasonably recent wheezy. The message is given by invoke-rc.d, NOT by the init script! This is what happens when I run it by hand: # invoke-rc.d rsyslog rotate invoke-rc.d: action rotate is unknown, but proceeding anyway. [ ok ] Closing open files: rsyslogd. >From the invoke-rc.d manpage: INIT SCRIPT ACTIONS The standard actions are: start, stop, force-stop, restart, reload, force-reload, and status. Other actions are accepted, but they can cause problems to policy-rc.d (see the INIT SCRIPT POLICY section), so warnings are generated if the policy layer is active. I have a /usr/sbin/policy-rc.d, and as "rotate" is not among those mentioned above, invoke-rc.d gives a warning. rsyslog should take into account those installations that choose to have /usr/sbin/policy-rc.d . thanks, Paul Slootman -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org