Comment 8 for bug 1052449

Revision history for this message
Brendan McGrath (redmcg) wrote :

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)