Re: [systemd-devel] How to attach a .socket file to all the network namespaces
On Mon, 30.01.17 20:33, Badrish Adiga H R (badrish.adig...@gmail.com) wrote: > Hi, > > I want to use socket activated ssh daemon. However currently this is > working file only for default namespace. > > I just want to make systemd to listen on a tcp port number(22 for ssh) > on all the namespaces and to launch sshd@.service on the corresponding > namespace. Can you help me in this regard, if there is already a > solution to this? This is currently not supported. However, adding this would be OK I figure. This would require two changes however: a) add NetworkNamespace= or so as a new service unit file setting that takes a a path to a namespace handle file. b) teach .socket units namespace support, honouring JoinsNamespaceOf= as well as as supporting NetworkNamespace directly. It's not trivial to add that, but patches would be welcome. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] How to attach a .socket file to all the network namespaces
Fixing typos.. On Mon, Jan 30, 2017 at 8:33 PM, Badrish Adiga H R wrote: > Hi, > > I want to use socket activated ssh daemon. However currently this is > working fine only for default namespace. > > I just want to make systemd to listen on a tcp port number(22 for ssh) > on all the network namespaces and to launch sshd@.service on the > namespace on which ssh request was received. Can you help me in this regard, > if there is already a > solution to this? > > regards, > Badrish ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] How to attach a .socket file to all the network namespaces
Hi, I want to use socket activated ssh daemon. However currently this is working file only for default namespace. I just want to make systemd to listen on a tcp port number(22 for ssh) on all the namespaces and to launch sshd@.service on the corresponding namespace. Can you help me in this regard, if there is already a solution to this? regards, Badrish ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel