Your message dated Thu, 28 Jan 2016 00:49:33 +0100
with message-id <[email protected]>
and subject line Re: rsyslog: Logrotate error message
has caused the Debian Bug report #672218,
regarding invoke-rc.d: Spurious error message after creating 
/usr/sbin/policy-rc.d
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
672218: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672218
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysv-rc
Version: 2.88dsf-41+deb7u1
Severity: minor
Tags: patch

Hi,

I recently added a /usr/sbin/policy-rc.d script (mainly to prevent
updates from restarting services when I don't want them to be
restarted).

Since then, the daily logrotate cron reports these:

invoke-rc.d: action rotate is unknown, but proceeding anyway.

This is due to the rsyslog logrotate configuration, executing this
postrotate hook:

invoke-rc.d rsyslog rotate

I have patched invoke-rc.d to add rotate to the list of known valid
actions to get rid of this error, and avoid getting spammed by the
daily cron.

Attached is a debdiff of my home-made package.

I hope this is good and you'll be able to incorporate it :)

Thanks for your work.

Colin



-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- 
Colin

Attachment: add_rotate_to_invoke-rc.d.debdiff
Description: Binary data


--- End Message ---
--- Begin Message ---
On Wed, 09 May 2012 10:20:28 +0200 Arne Wichmann <[email protected]> wrote:
> Package: rsyslog
> Version: 5.8.11-1
> Severity: normal
> 
> Dear Maintainer,
> 
> 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

Running this in Debian unstable, I get:
# invoke-rc.d rsyslog rotate
[ ok ] Closing open files: rsyslogd.

So I consider this issue fixed.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to