]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
fix chowning of tty and console uids
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 23 Oct 2013 01:02:58 +0000 (01:02 +0000)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 24 Oct 2013 17:13:22 +0000 (12:13 -0500)
commitc4d10a05c309dcf8b8577c36d641f8943f66cde2
tree51b1c01dfc06b7e276f55cc409c51f3cc8ed13bf
parentcf3ef16dc479c102433a82b8ddbb4265d3818cce
fix chowning of tty and console uids

It needs to be done from the handler, not the container, since
the container may not have the rights.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
Changelog:
    Jul 22: remove hardcoded path for /bin/chown
    Jul 22: use new lxc-usernsexec

Conflicts:
src/lxc/lxccontainer.c
src/lxc/conf.c
src/lxc/conf.h
src/lxc/lxccontainer.c
src/lxc/start.c