Bug#986761: openssh fails to start when using ListenAddress and systemd-network
Daniel Baumann <[email protected]>
| Newsgroups | gmane.linux.debian.devel.ssh |
|---|---|
| Message-ID | <3cef884c-25e2-cef6-1aef-99b56e20814b__39626.1851232097$1618162573$gmane$org@progress-linux.org> |
Package: openssh Severity: normal Version: 1:8.4p1-5 Hi, on systems with multiple interfaces, we tend to use 'ListenAddress' in sshd_config to ensure that openssh only runs on the local management interface. now, with vanilla bullseye systems using ifupdown this works. once switching to systemd-networkd, this fails. openssh logs the 'cannot bind to address' error because the (statically configured) IP on the interface is not up yet. I guess systemd-networkd reports "network.target" to early that it completed its stuff (when it has not). once I remove the ListenAddress, everything works again as usual. Regards, Daniel