All of lore.kernel.org
 help / color / mirror / Atom feed
* ip netns exec after unshare --map-root-user
@ 2014-05-08 12:06 Robin Kreis
  0 siblings, 0 replies; only message in thread
From: Robin Kreis @ 2014-05-08 12:06 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-08 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08 12:06 ip netns exec after unshare --map-root-user Robin Kreis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.