[Bug 865686] [NEW] 11.10 libvirt-bin upstart script doesn't shut down vm's

dyna 865686 at bugs.launchpad.net
Mon Oct 3 20:15:03 UTC 2011


Public bug reported:

11.10 has an updated /etc/init/libvirt-bin with code to shut down VM's.
However it seems that upstarts doesn't wait for the script to end and just reboots the machine while the VM's are still being shutdown.

Others who use a custom vm shutdown script already noted this problem with upstart, however i couldn't get their solutions to work:
http://askubuntu.com/questions/36855/upstart-pre-stop-killed-during-shutdown
http://sebastian.marsching.com/blog/archives/112-KVM-and-Graceful-Shutdown-on-Ubuntu.html

I tried setting a kill timeout as suggested in the first link, but that seems to be ignored.
The first link also recommends using "stop on starting rc RUNLEVEL=[016]", but this is already set in the new version of the upstart script. So why is it being killed?

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/865686

Title:
  11.10 libvirt-bin upstart script doesn't shut down vm's

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



More information about the Ubuntu-server-bugs mailing list