]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC: Don't mount securityfs when user namespace enabled
authorGao feng <gaofeng@cn.fujitsu.com>
Thu, 5 Sep 2013 10:50:40 +0000 (11:50 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 5 Sep 2013 11:00:07 +0000 (12:00 +0100)
commit1583dfda7c4e5ad71efe0615c06e5676528d8203
treed018dd62c549653eb6b7267a5528bf595f99fe28
parent393cf4d69b8413a0c9ecf675164db60927b99448
LXC: Don't mount securityfs when user namespace enabled

Right now, securityfs is disallowed to be mounted in non-initial
user namespace, so we must avoid trying to mount securityfs in
a container which has user namespace enabled.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/lxc/lxc_container.c