[libvirt] [PATCH 0/6] Try to fix selinux/securityfs mount handling in LXC

Daniel P. Berrange berrange at redhat.com
Mon Oct 7 13:06:45 UTC 2013


From: "Daniel P. Berrange" <berrange at redhat.com>

This series tries to address the problem of LXC containers failing
to start because 'securityfs' is not compiled in. In doing this some
general cleanup was performed on the LXC mount code.

Daniel P. Berrange (6):
  Add virFileIsMountPoint function
  Remove unused 'opts' field from LXC basic mounts struct
  Remove pointless 'srcpath' variable in lxcContainerMountBasicFS
  Remove duplicate entries in lxcBasicMounts array
  Add flag to lxcBasicMounts to control use in user namespaces
  Skip any files which are not mounted on the host

 src/libvirt_private.syms |  1 +
 src/lxc/lxc_container.c  | 86 +++++++++++++++++++++++++++++-------------------
 src/util/virfile.c       | 58 ++++++++++++++++++++++++++++++++
 src/util/virfile.h       |  2 ++
 4 files changed, 113 insertions(+), 34 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list