[lxc-devel] Unsharing user namespaces (to make avahi work)

Matthijs Kooijman matthijs at stdin.nl
Fri Sep 23 10:01:25 UTC 2011


Hi folks,

I was having some trouble with running avahi in multiple containers and
then found this thread:
http://comments.gmane.org/gmane.linux.kernel.containers.lxc.general/189

It suggests to "ushare the user namespaces" by adding CLONE_NEWUSER to
the clone_flags in start.c. I've just tried this on top of git master,
and it solves the problem for me.

Is there any particular reason this change is not in git master yet? Are
there side effects, did it get forgotten?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20110923/67efc2b3/attachment.pgp>


More information about the lxc-devel mailing list