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.
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 le:494 : Failed to open pid file '/var/run/ libvirtd. pid' : File exists
10:51:36.935: error : qemudWritePidFi
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.