Bug#881166: log files, postrotate example: start-stop-daemon or invoke-rc.d?
Daniel Pocock <daniel@pocock.pro> writes:
> In the section on log files[1], the example uses start-stop-daemon:
> postrotate
> start-stop-daemon -K -p /var/run/foo.pid -s HUP -x /usr/sbin/foo -q
> endscript
> while elsewhere in the policy manual it is suggested to use invoke-rc.d
> Inspecting my own system, I noticed most logrotate scripts use
> invoke-rc.d, not start-stop-daemon
There was a long discussion about this a while back, during which we
decided not to change this because of bad interations with policy-rc.d, I
think? I'm not sure what the bug number was, though.
I agree that the behavior you're describing seems broken.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: