[lxc-devel] Howto user namespaces?
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Apr 12 13:37:05 UTC 2013
Quoting richard -rw- weinberger (richard.weinberger at gmail.com):
> On Thu, Apr 11, 2013 at 11:40 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> > Quoting richard -rw- weinberger (richard.weinberger at 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
More information about the lxc-devel
mailing list