Re: Issue with clone() and CLONE_NEWUSER as unprivileged user

2014-08-21 Thread Andy Lutomirski
On Thu, Aug 21, 2014 at 3:26 PM, Marcel Holtmann wrote: > Hi Andy, > >>> I am trying to use clone() and CLONE_NEWUSER for creating a new user >>> namespace as an unprivileged user. I always get an operation not permitted >>> error. However when I used fork() + unshare() as unprivileged user, I c

Re: Issue with clone() and CLONE_NEWUSER as unprivileged user

2014-08-21 Thread Marcel Holtmann
Hi Andy, >> I am trying to use clone() and CLONE_NEWUSER for creating a new user >> namespace as an unprivileged user. I always get an operation not permitted >> error. However when I used fork() + unshare() as unprivileged user, I can >> create the new user namespace just fine. >> >> Is there

Re: Issue with clone() and CLONE_NEWUSER as unprivileged user

2014-08-21 Thread Andy Lutomirski
On 08/17/2014 10:35 PM, Marcel Holtmann wrote: > Hi, > > I am trying to use clone() and CLONE_NEWUSER for creating a new user > namespace as an unprivileged user. I always get an operation not permitted > error. However when I used fork() + unshare() as unprivileged user, I can > create the new

Issue with clone() and CLONE_NEWUSER as unprivileged user

2014-08-17 Thread Marcel Holtmann
Hi, I am trying to use clone() and CLONE_NEWUSER for creating a new user namespace as an unprivileged user. I always get an operation not permitted error. However when I used fork() + unshare() as unprivileged user, I can create the new user namespace just fine. Is there something obvious that