The reason iproute is doing this is:
/* Make it possible for network namespace mounts to propogate between
* mount namespaces. This makes it likely that a unmounting a network
* namespace file in one namespace will unmount the network namespace
* file in all namespaces allowing the network namespace to be freed
* sooner.
*/
The command 'ip netns delete x1' simply unmounts /run/netns/x1. If you
have 300 'ip netns exec x$i' commands running, then having /run/netns
MS_SHARED will propagate the unmounte to all 300 namespaces causing the
network namespace to be freed earlier.
Unfortunately that makes it so that any task which unmounts
/run/netns/x1, which all can do, unmounts it everywhere.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307829
Title:
network namespace error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1307829/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs