From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: unshare network namespace problem Date: Mon, 22 Jun 2009 08:02:36 -0500 Message-ID: <20090622130236.GA5528@hallyn.com> References: <60bb95410906220033x4d53d8acy2f1418b2720e171e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <60bb95410906220033x4d53d8acy2f1418b2720e171e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: James Yu Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org List-Id: containers.vger.kernel.org Quoting James Yu (cyu021-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): > 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@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