[systemd-devel] Query on sshd.socket sshd.service approaches

Lennart Poettering lennart at poettering.net
Wed Mar 6 15:27:12 UTC 2024


On Mi, 06.03.24 14:44, Shreenidhi Shedi (shreenidhi.shedi at broadcom.com) wrote:

> > Lennart Poettering, Berlin
>
> Thanks a lot for the responses Andrei, Poettering .
> We took it from blfs in PhotonOS.
> https://www.linuxfromscratch.org/blfs/view/11.3-systemd/introduction/systemd-units.html
> We need to do some more work on these unit files.

But that tarball actually contains a correct sshd -i line that
includes the "-" that makes the return values to be ignored as it
should.  Hence if your distro didn't do this even though it imported
this from LFS, then it's your distro that broke that...

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list