[Bug 522688] Re: /etc/init.d/libvirt-bin does not check that libvirtd has terminated on stop

Chris Bainbridge chris.bainbridge at gmail.com
Wed Feb 17 10:58:00 GMT 2010


Yes.

Do "virsh save dom /tmp/x" to hang libvirtd (bug #457716)
Then "service libvirt-bin restart" to restart libvirtd. It reports that the service is running but this is not true - in fact the process has died without reporting an error. 
If I then run libvirtd manually I get:

# libvirtd
10:51:36.935: error : qemudWritePidFile:494 : Failed to open pid file '/var/run/libvirtd.pid' : File exists

The return code of the libvirtd process is 1 - a failure - so the init
script should report fail but it does not.

Also /var/run/libvirtd.pid should be removed when the libvirtd process
isn't running anymore and before attempting to start libvirtd.

-- 
/etc/init.d/libvirt-bin does not check that libvirtd has terminated on stop
https://bugs.launchpad.net/bugs/522688
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