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

Purcareata Bogdan-B43198 B43198 at freescale.com
Tue Oct 8 11:06:13 UTC 2013


> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange at redhat.com]
> Sent: Monday, October 07, 2013 4:07 PM
> To: libvir-list at redhat.com
> Cc: Gao feng; Purcareata Bogdan-B43198; Daniel P. Berrange
> Subject: [PATCH 0/6] Try to fix selinux/securityfs mount handling in LXC
> 
> 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
> 

Thank you very much!

This patchset fixes my issue.

Acked-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
Tested-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>





More information about the libvir-list mailing list