Further discussion here: https://lists.ubuntu.com/archives/upstart- devel/2013-October/002772.html
Following that thread, I've come to the following conclusions: libvirtd is perfectly acceptable in its current behaviour. upstart plans to support this edge case in the future. The only impact of this bug at the moment is in uvtool's postinst. A simple workaround can be used in uvtool's postinst. Although we can patch libvirtd to support "expect stop", it seems pretty invasive for something that we might want to drop in the future, and a the workaround in uvtool's postinst seems like the easier option. So I'll mark this as Won't Fix in libvirt for now, to reflect the existence of this problem but my current intention to leave it as is. And I'll work around the problem in uvtool. ** Changed in: libvirt (Ubuntu) Status: New => Won't Fix ** Also affects: uvtool (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1228210 Title: libvirt-bin upstart job considers service "started" before it is ready To manage notifications about this bug go to: https://bugs.launchpad.net/uvtool/+bug/1228210/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs