Quoting richard -rw- weinberger (richard.weinber...@gmail.com):
> On Thu, Apr 11, 2013 at 11:40 PM, Serge Hallyn <serge.hal...@ubuntu.com> 
> wrote:
> > Quoting richard -rw- weinberger (richard.weinber...@gmail.com):
> >> Sadly, do_start() calls lxc_setup() which calls setup_console() which calls
> >> later chmod().
> >
> > That explains why it works for me - if you set lxc.ttydir=lxc, you
> > won't hit that chmod.  The chmod realistically doesn't seem necessary
> > (as either getty or login is changing the console perms anyway), but
> > if it is perhaps it should be done right after the openpty.
> 
> Okay, if I set lxc.devttydir I don't hit the chmod() but another fun happens.
> lxc-start: sync wake failure : Broken pipe
> 
> Full strace log is attached.

Note that adding '-l info -o debug.out' will generate a lot of helpful
debug info in the file debug.out.

Running lxc-start under strace simply doesn't work well.  Doesn't work
for me even without user namespaces.

-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