[Lxc-users] Unix domain socket/share_via_fs

Serge Hallyn serge.hallyn at canonical.com
Thu Jan 3 16:15:32 UTC 2013


Quoting sanjay (genacct412 at gmail.com):
> Hi Serge! Thanks for the response. Here is the link to the patch  I was
> referring to:
> 
> http://www.mail-archive.com/lxc-devel@lists.sourceforge.net/msg00152.html
> Thanks,
> sanjay

Ah, thanks.  I guess the answer is
http://www.mail-archive.com/lxc-devel@lists.sourceforge.net/msg00168.html
(which is an invitation for you, if you're interested, to pick up the
patch and take it to lkml to try and upstream it)

If I read the patch right there is a problem - it allows the sharing of
abstract unix sockets as well.  That can't sanely be done in my opinion,
and I would nack it without that (trivially) fixed.

Note that you can work around this somewhat for now by using setns()
to switch to the other network namespace before opening the socket.
Does that suffice for your needs?

-serge




More information about the lxc-users mailing list