top | item 39870642

(no title)

Bu9818 | 1 year ago

Services may be in a different mount namespace from systemd for sandboxing or other reasons (also means you have to worry about filesystem permissions I suppose). Passing an fd from the parent (systemd) is a nice direct channel between the processes

discuss

order

NewJazz|1 year ago

But systemd precisely doesn't pass an FD. If it did, you would just need to write() and close().

Bu9818|1 year ago

Yeah I was wrong about that, I confused it with socket-activation passing. The systemd-side socket is available from the process.