[libvirt-users] libvirt on armhf with selinux driver

Daniel P. Berrange berrange at redhat.com
Mon Jan 13 15:16:38 UTC 2014


On Mon, Jan 13, 2014 at 04:10:35PM +0100, Ivan Gooten wrote:
> hi,
> 
> recently i've been busy with libvirt(d) v1.2.0 on armhf and i see, even
> if selinux sec driver is enabled on the configure stage, the driver is
> not finally created. these configure parameters are:
> 
> --with-selinux
> --with-secdriver-selinux
> --with-selinux-mount=/sys/fs/selinux
> 
> the /sys/fs/selinux is valid, selinux is running in permissive mode, got
> also libselinux DEV package installed, so no missing req. headers here.
> 
> when trying to run libvirtd, i'm getting:
> 
> error : virSecurityDriverLookup:78 : unsupported configuration: Security
> driver selinux not enabled
> error : lxcSecurityInit:1461 : Failed to initialise security drivers
> error : virStateInitialize:854 : Initialisation of LXC state driver
> failed: unsupported configuration: Security driver selinux not enabled
> error : daemonRunStateInit:909 : Driver state initialisation failed
> 
> someone got any clue what may be causing this?

This likely means that 'configure' failed to detect selinux support.
Look for any messages it prints in this regard. At the end, it will
summarize whether it succesfully found it or not.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list