lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ