[lxc-devel] [PATCH] Add lxc-net tool

Stéphane Graber stgraber at ubuntu.com
Thu May 17 19:28:48 UTC 2012


On 05/17/2012 03:21 PM, Christian Seiler wrote:
> Hi,
> 
>> Until lxc-attach is extended (Serge Hallyn took that action item),
> 
> Extending lxc-attach would also be fine by me - is anybody already
> working on this? If not, I'd be willing to do that.

It's on the todo list at the moment, I don't believe anyone is actively
working on it at the moment.

So if you want to do it, it'd be much appreciated.

I believe the idea was to keep the same syntax as lxc-unshare for
lxc-attach. Essentially introduce a -s flag accepting an ORed list of
namespaces.

Currently only ipc, net and uts are usable on a standard kernel, patches
for the remaining ones and the user namespace are currently on lkml with
some of them in linux-next.


>> I suggest using this very simple script to switch network namespaces:
>> http://paste.ubuntu.com/992744/
> 
> Thanks, I didn't know that current versions of iproute2's ip could do
> that (the version I have installed actually can't, I'll have to
> upgrade).
> 
> Regards,
> Christian

Thanks for your work.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120517/bbc19d95/attachment.pgp>


More information about the lxc-devel mailing list