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

Reply via email to