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>] [day] [month] [year] [list]
Date:	Thu, 8 May 2014 14:06:03 +0200
From:	Robin Kreis <r.kreis@...-bremen.de>
To:	netdev@...r.kernel.org
Subject: ip netns exec after unshare --map-root-user

Hi!

After 'unshare --map-root-user --mount' and ensuring that /var/run/netns
is writable (possibly by binding another directory there), a network
namespace can be created by running 'ip netns create test'.

However, 'ip netns exec test sh' exits when it attempts to
unmount /sys.  I don't think that the failing to umount /sys should be a
fatal error, because the following mount call ensures that /sys has the
right contents.  I checked that 'ip netns exec' works fine when the
error returned by umount is ignored.  Should I submit a patch to
iproute2?

Please CC me, because I'm not subscribed to the mailing list.

Greetings,
Robin Kreis
--
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