[Pkg-sysvinit-devel] Bug#795255: sysv-rc: Spurious error message after creating /usr/sbin/policy-rc.d
Colin Leroy
colin at colino.net
Wed Aug 12 10:08:46 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_rotate_to_invoke-rc.d.debdiff
Type: application/octet-stream
Size: 1146 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20150812/db10fc68/attachment.obj>
More information about the Pkg-sysvinit-devel
mailing list