[systemd-devel] Starting in a network name?

Lennart Poettering lennart at poettering.net
Mon Jan 20 08:57:59 PST 2014


On Mon, 06.01.14 11:04, Holger Schurig (holgerschurig at gmail.com) wrote:

> Hi, I used "ip netns" commands to setup several network namespaces.
> Now I want to run a user-space (non-root) in one of those netspaces.
> "ip netns exec NAME COMMAND" seems to only work for root, not normal
> users.
> 
> Is there a way to configure a systemd unit to run in a *specific*
> network namespace?  I mean similar to, but more general than,
> PrivateNetwork=true and JoinsNamespaceOf= ...

No, this is currently not available. But certainly doable. I added it to
the TODO list now.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list