[Libvir] PATCH: Fix libvirtd to not shutdown at startup

Daniel Veillard veillard at redhat.com
Tue Mar 11 10:34:58 UTC 2008


On Sun, Mar 09, 2008 at 08:59:24PM +0000, Daniel P. Berrange wrote:
> Changes to the daemon to make it called qemudShutdown() broke the network
> driver when run in --daemon mode. This is because the main daemon forks
> into the background, and the original PID then exits destroying any active
> networks & removing the iptables rules.
[...]
> The core issue is that when forking into daemon mode the original process
> should immediately exit & not do invoke cleanup functions. This patch
> makes it do that

  a serious problem indeed, +1

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list