Hi Loic- a) If it was kill -9'd, I don't think the daemon can trap and handle that.
b) Agreed. I'll change this in the next upload. c) I'm up for other ideas, here, but I think pidof() is about the best we can do at this point. I don't think this is about working around upstart bugs as much as it's about cleaning up libvirt's pid file. Agreed, libvirtd should be better about that (and better about not crashing). But fact is, it does die, it does leave its pidfile around, this does prevent libvirt from starting subsequently, and this does annoying Ubuntu users. You're welcome to upload another one on top of my next upload that cleans this up a little, if you have better solution(s). As usual, thanks for the feedback, Loic! ** Changed in: libvirt (Ubuntu Lucid) Status: Fix Released => In Progress -- error : qemudWritePidFile:498 : Failed to open pid file '/var/run/libvirtd.pid' : File exists https://bugs.launchpad.net/bugs/510658 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs