[Bug 1307829] Re: /run/netns/* gets umounted on the host when a container starts

Serge Hallyn 1307829 at bugs.launchpad.net
Wed Apr 16 14:20:06 UTC 2014


Quoting Kaloyan Ganchev (kaloqn.ganchev at gmail.com):
> Do you think there is a better way to work around this issue other than
> recreating the non lxc network namespaces after all lxc containers
> start? Until a fix is release of course .

Yes, if you're starting the containers by hand, then you should be able
to do so from a private mounts namespace, like so:

sudo lxc-unshare -s MOUNT -- /bin/bash
mount --bind /proc/mounts /etc/mtab
mount --make-rslave /
lxc-start -n mycontainer

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1307829

Title:
  /run/netns/* gets umounted on the host when a container starts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute/+bug/1307829/+subscriptions



More information about the Ubuntu-server-bugs mailing list