]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
Fix to work lxc-start with unprivileged containers on recent kernel
authorTAMUKI Shoichi <tamuki@linet.gr.jp>
Fri, 27 Jun 2014 08:29:01 +0000 (17:29 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 30 Jun 2014 16:24:48 +0000 (12:24 -0400)
commit7b50c609e43e981d5bd4cebe8a59b3ab17f199f6
treeb9ee5c4b5bd51b2e4b35cb4fbf2f28e50178fb07
parent3fdd0ca89eccda48879257f9d4afd22d39b850c7
Fix to work lxc-start with unprivileged containers on recent kernel

Change chown_mapped_root() to map in both the root uid and gid, not
just the uid, so as to work lxc-start with unprivileged containers on
recent kernel.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c