Re: [libvirt] [PATCH v3 03/12] LXC: sort the uidmap/gidmap of domain

2013-06-04 Thread Daniel P. Berrange
On Thu, May 23, 2013 at 12:06:47PM +0800, Gao feng wrote: Make sure the mapping line contains the root user of container is the first element of idmap array. So we can get the real user id on host for the container easily. This patch also check the map information, User must map the root

[libvirt] [PATCH v3 03/12] LXC: sort the uidmap/gidmap of domain

2013-05-22 Thread Gao feng
Make sure the mapping line contains the root user of container is the first element of idmap array. So we can get the real user id on host for the container easily. This patch also check the map information, User must map the root user of container to any user of host. Signed-off-by: Gao feng