[Pkg-sysvinit-devel] Bug#755775: Bug#755775: sysv-rc: invoke-rc.d ignores required-stop

Petter Reinholdtsen pere at hungry.com
Wed Jul 23 15:12:34 UTC 2014


[mbr]
> Dear Maintainer,
> 
> I'm running corosync and pacemaker.
> When upgrading corosync, pacemaker needs to be stopped first.
> Therefore, pacemaker has a required-stop entry in its init script
> and the corosync package calls invoke-rc.d corosync stop. This
> stops corosync but not pacemaker, although pacemaker should have
> been stopped before. Similar, when starting corosync again, pacemaker
> should start again.
> 
> Currently, pacemaker exists and leaves some of its child processes around when
> corosync exists and does not come back when corosync restarts.

You seem to have misunderstood the behavour of invoke-rc.d.  It do not
start/stop anything else than the script you specify, and do not parse
the LSB style init.d script headers.  Why do you believe it should do
something else?
-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list