unshare network namespace problem

Serge E. Hallyn serge at hallyn.com
Mon Jun 22 06:02:36 PDT 2009


Quoting James Yu (cyu021 at gmail.com):
> Hi all,
> 
> I tried to follow the configuration from "
> http://lxc.sourceforge.net/network/configuration.php",
> For Method 1: step 7, I use the "ns_exec" download from "git clone git://
> git.sr71.net/~hallyn/cr_tests.git".
> However, I get the following error message, please advise:
> 
> [root at vmhat cr_tests]# ./ns_exec -nm -- /bin/bash
> about to unshare with 40020000
> unshare: Invalid argument

You said before you were doing this on F10, right?  I'm pretty sure
F10's kernel does not have CONFIG_NET_NS=y.  You can recompile your
kernel, or use F110 which does.

-serge


More information about the Containers mailing list