On Mon, 30.01.17 20:33, Badrish Adiga H R ([email protected]) 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 [email protected] 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to