Re: [libvirt] VM creation failed : Permission denied : bind(unix:/var/run/libvirt/qemu//VM.monitor)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 30 juillet 2009 12:26:57, Daniel P. Berrange a écrit :
> On Thu, Jul 30, 2009 at 10:33:31AM +0200, Pierre-Gilles Mialon wrote:
> > 	I use Ovirt under Fedora 11 with the latest developpement package and
> > the VM creation failed with :
> > bind(unix:/var/run/libvirt/qemu//VM-4.monitor): Permission denied
> >
> >
> > ==> /var/log/libvirt/qemu/VM-4.log <==
> > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root
> > LOGNAME=root /usr/bin/qemu-kvm -S -M pc -m 256 -smp 1 -name VM-4 -uuid
> > 492f836f-5123- e185-39c2-09c5dd43a7f6 -monitor
> > unix:/var/run/libvirt/qemu//VM-4.monitor,server,nowait -boot n -net
> > nic,macaddr=00:16:3e:10:de:fe,vlan=0,name=nic.0 -net
> > tap,fd=18,vlan=0,name=tap.0 -serial pty -parallel none -usb -vnc
> > 0.0.0.0:0 - vga cirrus
> > bind(unix:/var/run/libvirt/qemu//VM-4.monitor): Permission denied
> > qemu: could not open monitor device
> > 'unix:/var/run/libvirt/qemu//VM-4.monitor,server,nowait'
> >
> > ==> # rpm -qa | grep libvirt  <==
> > libvirt-0.7.0-0.2.gitf055724.fc11.x86_64
> > libvirt-python-0.7.0-0.2.gitf055724.fc11.x86_64
> > libvirt-client-0.7.0-0.2.gitf055724.fc11.x86_64
> > libvirt-qpid-0.2.17-0.fc11.x86_64
>
> Is SELinux in enforcing mode ?  It is quite likley that we'll need to
> update the policy to allow QEMU to use UNIX domain sockets here, since
> historically we've only had to allow PTYs.

Yes it was, disabling SELinux fix it...

I tried to put it in permissive mode and it works too. 

Thanks !

-- 
Pierre-Gilles Mialon
Linagora :: http://www.linagora.com
Responsable hébergement :: Head of Hosting services
pmialon@xxxxxxxxxxxx :: +33.1 58 18 65 46


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]