[libvirt] [PATCH] Don't mount selinux fs in LXC if selinux is disabled

2013-05-15 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Before trying to mount the selinux filesystem in a container use is_selinux_enabled() to check if the machine actually has selinux support (eg not booted with selinux=0) Signed-off-by: Daniel P. Berrange berra...@redhat.com ---

Re: [libvirt] [PATCH] Don't mount selinux fs in LXC if selinux is disabled

2013-05-15 Thread Eric Blake
On 05/15/2013 09:27 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Before trying to mount the selinux filesystem in a container use is_selinux_enabled() to check if the machine actually has selinux support (eg not booted with selinux=0) Signed-off-by: Daniel P.