[Bug 350936] Re: Should shut down domains on system shutdown
ossjunkie
ossjunkie at gmail.com
Wed Jun 23 16:53:18 BST 2010
as this bug can corrupt guests i did an old school init script for my
server, but that doesn't work as libvirt-bin got always stopped before
(even at S01). so i removed all bashism like arrays and tried to create
an upstart script. the "core logic" is done, but i need some help
regarding upstart integration:
-how can we ensure in upstart that the script got run on shutdown &
reboots but always before libvirt-bin and qemu-kvm got stopped?
-should we use return or exit in upstart scripts?
feedback highly welcome :)
BTW better output to screen and a log file wouldn't hurt
** Attachment added: "libvirt-shutdown-guests.conf"
http://launchpadlibrarian.net/50807034/libvirt-shutdown-guests.conf
--
Should shut down domains on system shutdown
https://bugs.launchpad.net/bugs/350936
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
More information about the Ubuntu-server-bugs
mailing list