systemd does not assign names to the namespaces – this is mostly an 'ip'
thing, though it has been requested for systemd earlier.

If you know a PID which is in that namespace (e.g. from 'systemctl show'),
you can use 'nsenter --net' to switch into that namespace.)

# nsenter --net --target $PID

You can also make it show up in 'ip netns' with the following:

# touch /run/netns/foobar
# mount --bind  /proc/$PID/ns/net  /run/netns/foobar

(However, if all involved services are stopped and then restarted, systemd
will not try to reuse the same netns (it doesn't care about the names), it
will just create a new one, and you'll have to re-do the above.)

-- 
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to