Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
Hi Jean, On Sun, Sep 26, 2010 at 11:25:48PM +0200, Jean-Louis Dupond wrote: Subject: libvirt-bin: autostart fails on reboot Package: libvirt-bin Version: 0.8.3-1 Severity: normal I have a routed setup of kvm (with libvirt). My tun devices are created in /etc/network/interfaces. auto

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Jean-Louis Dupond
On Mon, 27 Sep 2010 09:06:22 +0200, Guido Günther a...@sigxcpu.org wrote: Hi Jean, Are you using dependency based booting? Please check if the network is fully up when libvirt-bin starts (e.g. by dumping the output of ifconfing in the init script). It should be since we have a dependency on

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
On Mon, Sep 27, 2010 at 10:26:43AM +0200, Jean-Louis Dupond wrote: On Mon, 27 Sep 2010 09:06:22 +0200, Guido Günther a...@sigxcpu.org wrote: Hi Jean, Are you using dependency based booting? Please check if the network is fully up when libvirt-bin starts (e.g. by dumping the output of

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Jean-Louis Dupond
On Mon, 27 Sep 2010 11:16:35 +0200, Guido Günther a...@sigxcpu.org wrote: Could you check the permissions of /dev/net/tun the same way please? Also please check if setting user=root/group=root in /etc/libvirt/qemu.conf changes anything. Please attache the domain xml of the domain that

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
On Mon, Sep 27, 2010 at 11:22:10AM +0200, Jean-Louis Dupond wrote: On Mon, 27 Sep 2010 11:16:35 +0200, Guido Günther a...@sigxcpu.org wrote: Could you check the permissions of /dev/net/tun the same way please? Also please check if setting user=root/group=root in

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Jean-Louis Dupond
On Mon, 27 Sep 2010 11:56:15 +0200, Guido Günther a...@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

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
On Mon, Sep 27, 2010 at 12:55:18PM +0200, Jean-Louis Dupond wrote: On Mon, 27 Sep 2010 11:56:15 +0200, Guido Günther a...@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

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Jean-Louis Dupond
On Mon, 27 Sep 2010 13:20:34 +0200, Guido Günther a...@sigxcpu.org wrote: Thanks a lot for your testing! So the issue isn't in libvirtd-bin - it's a permission problem when using uml-utilties. There's one open question though (as stated in my previous mail): How do the permissions on

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
tag 598149 +unreproducible thanks On Mon, Sep 27, 2010 at 01:28:37PM +0200, Jean-Louis Dupond wrote: On Mon, 27 Sep 2010 13:20:34 +0200, Guido Günther a...@sigxcpu.org wrote: Thanks a lot for your testing! So the issue isn't in libvirtd-bin - it's a permission problem when using

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Jean-Louis Dupond
On Mon, 27 Sep 2010 15:07:02 +0200, Guido Günther a...@sigxcpu.org wrote: tag 598149 +unreproducible thanks So your vm autostarts either when - fixing the /dev/net/tun permissions to 0666 - everything fine here - I understand that. If I chmod /dev/net/tun to 0666 before libvirt

Bug#598149: [Pkg-libvirt-maintainers] Bug#598149: libvirt-bin: autostart fails on reboot

2010-09-27 Thread Guido Günther
Hi Jean, On Mon, Sep 27, 2010 at 03:14:46PM +0200, Jean-Louis Dupond wrote: Then the guests are started without any issue. Still I didn't change anything in the config/permissions between the boot the restart of libvirt. Maybe you didn't but one of the startup scripts might have done so.