Am 29.07.2014 05:45, schrieb chenhanx...@cn.fujitsu.com:
> 
> 
>> -----Original Message-----
>> From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com]
>> On Behalf Of Richard Weinberger
>> Sent: Tuesday, July 29, 2014 4:59 AM
>> To: libvir-list@redhat.com
>> Cc: Richard Weinberger; da...@sigma-star.at
>> Subject: [libvirt] [PATCH] LXC: Fix virLXCControllerSetupDevPTS() wrt user
>> namespaces
>>
>> The gid value passed to devpts has to be translated by hand as
>> virLXCControllerSetupDevPTS() is called before setting up the user
>> and group mappings.
>> Otherwise devpts will use an unmapped gid and openpty()
>> will fail within containers.
>> Linux commit commit 23adbe12
>> ("fs,userns: Change inode_capable to capable_wrt_inode_uidgid")
>> uncovered that issue.
>>
>> Signed-off-by: Richard Weinberger <rich...@nod.at>
> 
> Reviewed-by: Chen Hanxiao <chenhanx...@cn.fujitsu.com>
> 

ping

Thanks,
//richard

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to