[Pkg-libvirt-maintainers] Bug#598149: Bug#598149: libvirt-bin: autostart fails on reboot
Jean-Louis Dupond
jean-louis at dupond.be
Mon Sep 27 10:55:18 UTC 2010
On Mon, 27 Sep 2010 11:56:15 +0200, Guido Günther <agx at sigxcpu.org> wrote:
> So the permissions stay the same when checked from within the init
> script and after the boot completed?
>
> Does setting /dev/net/tun to 0666 in the init script before libvirt
> starts change anything?
>
> Cheers,
> -- Guido
Did some more testing now:
/bin/ls -la /dev/net/tun > /root/boot
/sbin/ifconfig >> /root/boot
/bin/chmod 0666 /dev/net/tun
/bin/ls -la /dev/net/tun >> /root/boot
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- $libvirtd_opts
On reboot, the permissions:
crw-rw---- 1 root uml-net 10, 200 Sep 27 12:48 /dev/net/tun
Afterwards it lists all the tap devices correctly.
They are up.
Then I chmod /dev/net/tun:
crw-rw-rw- 1 root uml-net 10, 200 Sep 27 12:48 /dev/net/tun
And what do I see, the guests started without problems :)
More information about the Pkg-libvirt-maintainers
mailing list