[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7M_D49aVjOd85MTpjhBgcYTOZALAnU7y7N6T17mDrP0bw@mail.gmail.com>
Date: Thu, 27 Mar 2014 09:34:34 -0700
From: Cong Wang <cwang@...pensource.com>
To: Peter Fassberg <pf@...ssner.se>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: Activate netns
On Thu, Mar 27, 2014 at 7:51 AM, Peter Fassberg <pf@...ssner.se> wrote:
>
> Hi!
>
> I have trouble to activate netns on OpenWrt with kernel 3.8.13.
>
> I get this:
>
> root@...ter:~# ip netns show
> root@...ter:~# ip netns add blue
> Failed to create a new network namespace "blue": Invalid argument
Basically, `ip netns add blue` creates a file named "blue" in /var/run/netns/
and then binds mount it with /proc/self/ns/net so that this netns could
be held outside.
Try to strace ip netns add to see if setns() fails, which is likely caused
by the lack of netns support of your kernel.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists