Re: [libvirt] [RFC PATCH 5/6] LXC: create tty device with proper permission for container

2013-03-13 Thread Gao feng
On 2013/03/13 19:08, Daniel P. Berrange wrote: > On Mon, Mar 11, 2013 at 02:26:51PM +0800, Gao feng wrote: >> Since the root user of container may be a normal >> user on host, we should make sure the container >> has rights to use the tty device. >> >> Signed-off-by: Gao feng >> --- >> src/lxc/lx

Re: [libvirt] [RFC PATCH 5/6] LXC: create tty device with proper permission for container

2013-03-13 Thread Daniel P. Berrange
On Mon, Mar 11, 2013 at 02:26:51PM +0800, Gao feng wrote: > Since the root user of container may be a normal > user on host, we should make sure the container > has rights to use the tty device. > > Signed-off-by: Gao feng > --- > src/lxc/lxc_controller.c | 8 ++-- > 1 file changed, 6 insert

[libvirt] [RFC PATCH 5/6] LXC: create tty device with proper permission for container

2013-03-10 Thread Gao feng
Since the root user of container may be a normal user on host, we should make sure the container has rights to use the tty device. Signed-off-by: Gao feng --- src/lxc/lxc_controller.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_controller.c b/src/lxc/l