← Back to team overview

touch-packages team mailing list archive

[Bug 1525911] [NEW] wrong stop order of corosync and pacemacer

 

You have been subscribed to a public bug:

It seems that update-rc.d does not use the information which is given in the header of the init script. We realized this with the corosync/packemaker init script.
The Start order which is given in the header of the init script was not taken into account by update-rc.d.

In case of e reboot, poweroff or "service corosync stop" corosync stops
before pacemacer this leads to an inconsistent state. As a communication
between the nodes is only possible as long as corosync is running.

My current work around is:
# fix order of corosync/pacemaker startup! pacemaker must be stopped first
update-rc.d -f corosync remove
update-rc.d -f corosync defaults 19 20
update-rc.d -f pacemaker remove
update-rc.d -f pacemaker defaults 20 10

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wrong stop order of corosync and pacemacer
https://bugs.launchpad.net/bugs/1525911
You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to sysvinit in Ubuntu.