I got a bit confused reading through this bug and the comments so I'm
writing this in the hope it'll help future visitors.
Some of the comments are relevant to a work-around for this bug. But the
bug itself is about the missing update-rc.d command in the postinst (and
preinst) scripts of the install package.
The suggestion in the original bug report is to follow a pattern similar
to corosync where the update-rc.d is in the postinst and preinst scripts
but you still need to edit /etc/default/corosync to enable corosync to
start on boot.
The workaround in the meantime requires one to manually run update-rc.d.
When doing this - it's important that corosync starts before pacemaker
and shuts down after.
To do this, we can run:
sudo update-rc.d pacemaker defaults 99 00
I'm running 14.04.02 LTS - so:
#2 is no longer the case ('Required-Stop: corosync' is now in the
/etc/init.d/pacemaker script)
#5 won't be a problem as insserv has been disabled (by .legacy-bootordering in
/etc/init.d)
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1052449
Title:
corosync hangs due to missing pacemaker shutdown scripts
Status in pacemaker package in Ubuntu:
Confirmed
Bug description:
The pacemaker package installs the right init script but doesn't link
it to the according runlevels. If corosync is activated and started on
the system this leads to a hanging shutdown / reboot because corosync
only ends if pacemaker is stopped beforehand. In addition to this the
pacemaker daemon has to start after corosync but has to stop before
corosync.
A possible solution would be to link the init script accordingly an
enable it throug /etc/default/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1052449/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp