Bug#1103773: openssh-server: systemd unit to After=network-online.target

Colin Watson <[email protected]>
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <aAZ-8i2L1T07BePK__36705.500706897$1745257362$gmane$org@riva.ucam.org>
On Mon, Apr 21, 2025 at 07:16:46PM +0200, Chris Hofstaedtler wrote:
>* Colin Watson <[email protected]> [250421 19:09]:
>>I'd be happy to add additional advice about this to README.Debian if 
>>somebody else writes it.  But ideally it'd be more fine-grained than 
>>just whacking in a dependency on network-online.target; perhaps we 
>>can advise people how to configure their system so that ssh.service 
>>waits for a particular interface to come up.
>
>Another way might be to set IP_FREEBIND, possibly with an sshd config 
>option.

FWIW upstream WONTFIXed a request for that (at least until it has more 
widespread OS support), and suggested the affected people just locally 
add a dependency on network-online.target: 
https://bugzilla.mindrot.org/show_bug.cgi?id=2512
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.