Re: [lxc-devel] namespaces and lxc

2013-04-22 Thread Serge Hallyn
Quoting Andy Johnson (johnson...@gmail.com): > Hello, > I read your posts, thanks a lot for the good and detailed info and examples. > > >When a new user namespace is created, the task populating it starts >as > userid -1, nobody. > > I don't understand something: why nobody is userid -1 ? > On f

Re: [lxc-devel] namespaces and lxc

2013-04-22 Thread Andy Johnson
Hello, I read your posts, thanks a lot for the good and detailed info and examples. >When a new user namespace is created, the task populating it starts >as userid -1, nobody. I don't understand something: why nobody is userid -1 ? On fedora 18 we have: cat /etc/passwd | grep nobody nobody:x:99:

Re: [lxc-devel] namespaces and lxc

2013-04-19 Thread Andy Johnson
Hello, Thanks a lot for your very detailed answer and quick response! Best, Andy On Fri, Apr 19, 2013 at 5:18 PM, Serge Hallyn wrote: > Quoting Andy Johnson (johnson...@gmail.com): > > Hello, > > > > Question about namespaces and lxc: > > > > I see that there is a tool named lxc-unshare, which

Re: [lxc-devel] namespaces and lxc

2013-04-19 Thread Serge Hallyn
Quoting Andy Johnson (johnson...@gmail.com): > Hello, > > Question about namespaces and lxc: > > I see that there is a tool named lxc-unshare, which is (according to > https://help.ubuntu.com/12.04/serverguide/lxc.html) for > testing and in fact calls the clone() syscall (via lxc_clone()) > and n

[lxc-devel] namespaces and lxc

2013-04-19 Thread Andy Johnson
Hello, Question about namespaces and lxc: I see that there is a tool named lxc-unshare, which is (according to https://help.ubuntu.com/12.04/serverguide/lxc.html) for testing and in fact calls the clone() syscall (via lxc_clone()) and not via the unshare() syscall. While looking in the code for