Re: [PATCH iproute2-next] netns: add subcommand to attach an existing network namespace

2019-01-28 Thread David Ahern
On 1/24/19 8:50 AM, Matteo Croce wrote: > ip tracks namespaces with dummy files in /var/run/netns/, but can't see > namespaces created with other tools. > Creating the dummy file and bind mounting the correct procfs entry will > make ip aware of that namespace. > Add an ip netns subcommand to autom

[PATCH iproute2-next] netns: add subcommand to attach an existing network namespace

2019-01-24 Thread Matteo Croce
ip tracks namespaces with dummy files in /var/run/netns/, but can't see namespaces created with other tools. Creating the dummy file and bind mounting the correct procfs entry will make ip aware of that namespace. Add an ip netns subcommand to automate this task. Signed-off-by: Matteo Croce ---