[lxc-devel] [PATCH] Support MS_SHARED /
Serge Hallyn
serge.hallyn at canonical.com
Mon Jan 7 15:39:40 UTC 2013
Quoting Michael H. Warfield (mhw at WittsEnd.com):
> I see a call to "/sbin/MAKEDEV console" in src/lxc/conf.c. Not sure if
> it's that call that's generating the problem but there is no MAKEDEV in
Right. With lxc.autodev, upstart's "mounted MOUNTPOINT=/dev" gets sent
(bc /dev gets mounted) which triggered a script which ran MAKEDEV
console, which then overwrite the consoles setup by lxc. In return for
updating that script to not run makedev in containers, I was asked to
make sure the makedev gets run before lxc creates the consoles, since
that makedev creates more than just /dev/console and /dev/ttyN.
If that gets too obnoxious, perhaps there's something better we can do.
> the container. It's interesting that they're showing up before systemd
> in the container is announcing its presence. Looks like it's running
> the MAKEDEV command in the host environment and, if I run "MAKEDEV
> console" in the host itself, I get a couple thousand of those tty
> devices created in the host /dev, that were not present before, and I
> don't get any of the context errors... Might be worth looking into just
> to see what all the noise is all about.
>
> IAC... Looks like it works on F18Beta. I'm good.
Awesome!
-serge
More information about the lxc-devel
mailing list