[lxc-devel] problem with user namespace as root

Serge Hallyn serge.hallyn at ubuntu.com
Wed Feb 12 15:51:26 UTC 2014


Quoting Stéphane Graber (stgraber at ubuntu.com):
> On Wed, Feb 12, 2014 at 02:58:54PM +0100, Stephan Sachse wrote:
> I suspect lxc.autodev is the problem, as far as I know (and the above
> seems to prove it), it doesn't work with unprivileged containers as it
> currently requires the ability to mknod.

Yes that's one we do need to address.  If anyone wants to take a stab
at a patch, just do a bind mount of the host's devices (creating the
underlying file as needed) for the same devices which setup_autodev
mknods.

-serge


More information about the lxc-devel mailing list