[Pkg-libvirt-maintainers] Bug#559356: Bug#559356: libvirt-bin: libvirtd fails to start (SELinux)

Guido Günther agx at sigxcpu.org
Fri Dec 4 09:33:10 UTC 2009


Hi Luca,
On Thu, Dec 03, 2009 at 10:41:04PM +0100, Luca Tettamanti wrote:
> Package: libvirt-bin
> Version: 0.7.4-1
> Severity: normal
> 
> Hello,
> libvirtd fails to start when SELinux is active on the system; this the
> output of the program:
> 
> 22:31:41.249: warning : qemudStartup:907 : Unable to create cgroup for driver: No such device or address
> 22:31:41.311: error : SELinuxInitialize:115 : cannot open SELinux virtual domain context file '/etc/selinux/default/contexts/virtual_domain_context': No such file or directory
> 22:31:41.311: error : qemudSecurityInit:764 : Failed to start security driver
> 22:31:41.311: error : virStateInitialize:832 : Initialization of QEMU state driver failed
> 22:31:41.312: error : main:3155 : Driver state initialization failed
> 22:31:41.312: warning : qemudDispatchSignalEvent:383 : Shutting down on signal 3
> 
> /etc/selinux/default/contexts/virtual_domain_context is not provided by the
> selinux-policy-default package...
Fedora has it though:

http://cvs.fedoraproject.org/viewvc//rpms/selinux-policy/F-12/selinux-policy.spec?view=markup

Since I'm not running SELinux: could you have a look at the Fedora
policy and see if the files are suitable?
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list