Re: [libvirt] [RFC PATCH 3/6] LXC: only mount cgroupfs when userns is disabled

2013-03-13 Thread Gao feng
On 2013/03/13 18:59, Daniel P. Berrange wrote: > On Mon, Mar 11, 2013 at 02:26:49PM +0800, Gao feng wrote: >> Since we can't mount cgroupfs in uninit user namespace >> now. only mount cgroupfs when userns is disabled. >> >> Signed-off-by: Gao feng >> --- >> src/lxc/lxc_container.c | 6 -- >>

Re: [libvirt] [RFC PATCH 3/6] LXC: only mount cgroupfs when userns is disabled

2013-03-13 Thread Daniel P. Berrange
On Mon, Mar 11, 2013 at 02:26:49PM +0800, Gao feng wrote: > Since we can't mount cgroupfs in uninit user namespace > now. only mount cgroupfs when userns is disabled. > > Signed-off-by: Gao feng > --- > src/lxc/lxc_container.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > di

[libvirt] [RFC PATCH 3/6] LXC: only mount cgroupfs when userns is disabled

2013-03-10 Thread Gao feng
Since we can't mount cgroupfs in uninit user namespace now. only mount cgroupfs when userns is disabled. Signed-off-by: Gao feng --- src/lxc/lxc_container.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index 5c66ae3..