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
--
Colin Watson (he/him) [[email protected]]