Linux Container Development
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
To: James Yu <cyu021-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: unshare network namespace problem
Date: Mon, 22 Jun 2009 08:02:36 -0500	[thread overview]
Message-ID: <20090622130236.GA5528@hallyn.com> (raw)
In-Reply-To: <60bb95410906220033x4d53d8acy2f1418b2720e171e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.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

      parent reply	other threads:[~2009-06-22 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22  7:33 unshare network namespace problem James Yu
     [not found] ` <60bb95410906220033x4d53d8acy2f1418b2720e171e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-22 13:02   ` Serge E. Hallyn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090622130236.GA5528@hallyn.com \
    --to=serge-a9i7lubdfnhqt0dzr+alfa@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=cyu021-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox