Quoting Eric W. Biederman (ebied...@xmission.com):
> richard -rw- weinberger <richard.weinber...@gmail.com> writes:
> 
> > On Thu, Apr 11, 2013 at 7:03 AM, Eric W. Biederman
> > <ebied...@xmission.com> wrote:
> >> richard -rw- weinberger <richard.weinber...@gmail.com> writes:
> >>> {st_mode=S_IFCHR|0644, st_rdev=makedev(5, 1), ...}) = 0
> >>> [pid  3100] chmod("/dev/pts/5", 020644) = -1 EPERM (Operation not 
> >>> permitted)
> >>
> >> I am puzzled why we don't see something to create /dev/pts/5 in this trace.
> >
> > I have also no idea.
> > Please see both attached strace logs (linux v3.9-rc6, lxc 0.9.0).
> > One with lxc.autodev = 0, the other with = 1.
> 
> I have read through and I can see why you are failing.
> With autodev you are failing with mknod /dev/null.
> Without autodev you are creating pts (I assume to represent /dev/ttyN)
> before creating the user namespace and then there is a permission
> problem with chmod.

After creating the /dev/ttyN we chown them to the root uid inside the
container.  I've not had failures with this.

-serge

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to