[Bug 3272] sshd systemd service unit launch sshd too early at bootup

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Mar 6 10:13:52 AEDT 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=3272

--- Comment #1 from Olivier Langlois <olivier at trillion01.com> ---
As a side note, I believe that I have stumbled into that bug because I
specify a specific ip address of my multi-homed server in sshd_config
at the field ListenAddress.

as denoted at the bottom of
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

servers using the address 0.0.0.0 are unaffected.

Perhaps that an elegant solution to not affect the boot time of systems
that don't have this issue could be to bundle 2 service units with
openssh.

1. The current one that wants network.target
2. A new unit that wants network-online.target for the sshd instances
that listen to specific addresses only available when the network is
online.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list