Re: [systemd-devel] Starting in a network name?
Lennart Poettering poettering.net> writes: > > On Mon, 06.01.14 11:04, Holger Schurig (holgerschurig 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. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Starting in a network name?
On Mon, 06.01.14 11:04, Holger Schurig (holgerschu...@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 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Starting in a network name?
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= ... ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel