[systemd-devel] Starting in a network name?
Vinay kumar
lonerider7.96k at gmail.com
Thu Apr 9 11:15:45 PDT 2015
Lennart Poettering <lennart <at> poettering.net> writes:
>
> 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.
>
Following on this older email thread, did this get implemented?..
What is the current preferred mechanism to start services in different netns?
We are doing with 'ip netns exec .. " command in the ExecStart for systemD.
s there any other options?
Thanks,
-Vinay.
More information about the systemd-devel
mailing list