[lxc-users] pls help: nested network namespace

Nick Ma skywalker.nick at gmail.com
Fri Feb 14 13:47:04 UTC 2014


Hi all,

I'm a newbie here. Currently I'd like to test nested network namespace, but finally I failed. I wonder if it is possible or not.
Many thanks for any hints on it.

My Lab environment:
- Ubuntu Server 13.10 amd64
- LXC 1.0.0alpha1

Test Procedure:
(1) run ubuntu lxc instance
(2) strace ip netns add ns1
(3) ...
mkdir("/var/run/netns", 0755)           = 0
mount("", "/var/run/netns", "none", MS_REC|MS_SHARED, NULL) = -1 EACCES (Permission denied)
write(2, "mount --make-shared /var/run/net"..., 61mount --make-shared /var/run/netns failed: Permission denied) = 61
exit_group(1)                           = ?
+++ exited with 1 +++

-- brs
Nick



More information about the lxc-users mailing list