[Bug 495394] Re: autostart almost always fails on boot time host

Jan van Oorschot janvanoorschot at gmail.com
Fri Jul 2 08:41:45 BST 2010


I Have reproduced this bug in a fresh Lucid install. Libvirtd (running
on Lucid), with one v-domain (also Lucid) on hardware with three virtual
bridges (br0, br1 and br2, each connected to a physical ehternet
interface eth0 eth1 eth2).

The temp. fix mentioned by Stuart in #8 fixes the problem for my, only
given that i am running Lucid i had to edit /etc/init/libvirt-bin.conf:

pre-start script
        mkdir -p /var/run/libvirt
        # Clean up a pidfile that might be left around
        rm -f /var/run/libvirtd.pid
        echo "libvirtd sleep start" >> /tmp/libvirtd.txt
        sleep 40
        echo "libvirtd sleep end" >> /tmp/libvirtd.txt
end script

4 seconds was to fast, and 40 seconds seems to work for me (since this
machines is going to boot once every year this is fine by me).

So this race-condition is still present in lucid (IMHO)

Regards, Jan

-- 
autostart almost always fails on boot time host
https://bugs.launchpad.net/bugs/495394
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