[Bug 350936] Re: Should shut down domains on system shutdown

Orticio Jlgtgutisu 350936 at bugs.launchpad.net
Wed Feb 2 17:02:00 UTC 2011


¿?           LENGUAGE SPANISCH   ????????????????

> Date: Tue, 1 Feb 2011 22:35:00 +0000
> From: clint at fewbar.com
> To: jlgutisu3 at hotmail.com
> Subject: [Bug 350936] Re: Should shut down domains on system shutdown
> 
> Wow this one has been around a while.
> 
> The simplest way to run a script before stopping, only on shutdown, but not on restarts, is to use the UPSTART_EVENTS.
>  environment variable.
> 
> pre-stop script
>   if [ x$UPSTART_EVENTS = xrunlevel ] ; then
>     shutdown_guests
>   fi
> end script
> 
> -- 
> You received this bug notification because you are subscribed to Ubuntu
> ubuntu-10.04.2.
> https://bugs.launchpad.net/bugs/350936
> 
> Title:
>   Should shut down domains on system shutdown
> 
> Status in “kvm” package in Ubuntu:
>   Invalid
> Status in “libvirt” package in Ubuntu:
>   Triaged
> 
> Bug description:
>   I'm using autostart feature of libvirtd (my guest defined in
>   /etc/libvirt/qemu/autostart/). It's starts normally, but if I reboot
>   server then guest fs will be corrupted becouse its cant stop in time:
> 
>   WARNING: / was not properly dismounted
> 
>   We need to give more time to libvirtd to stop all guests.
> 
>   
>   I'm running jaunty amd64 with all updates.
> 
>

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

Title:
  Should shut down domains on system shutdown



More information about the Ubuntu-server-bugs mailing list