JoinsNamespaceOf= probably only works for services because of how
namespace setup gets done just before forking off a process. I think a
socket get created in the namespace of the process instantiating it.

I'm not sure there's actually a way for PID 1 systemd to set up a
socket in a namespace other than its own. Maybe it could switch into
and back out of a namespace? One way would be running a new systemd in
the namespace where the socket should get set up.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to