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
Server Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1052449

Title:
  corosync hangs due to missing pacemaker shutdown scripts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1052449/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to