[libvirt] [PATCH] LXC: don't try to mount selinux filesystem when user namespace enabled
Daniel P. Berrange
berrange at redhat.com
Thu Sep 12 14:22:35 UTC 2013
On Thu, Sep 12, 2013 at 11:51:31AM +0800, Gao feng wrote:
> Right now we mount selinuxfs even user namespace is enabled and
> ignore the error. But we shouldn't ignore these errors when user
> namespace is not enabled.
>
> This patch skips mounting selinuxfs when user namespace enabled.
>
> Signed-off-by: Gao feng <gaofeng at cn.fujitsu.com>
> ---
> src/lxc/lxc_container.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
ACK,
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 libvir-list
mailing list