Debian Bug report logs -
#986761
openssh fails to start when using ListenAddress and systemd-network
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>:
Bug#986761; Package openssh.
(Sun, 11 Apr 2021 17:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to daniel.baumann@progress-linux.org:
New Bug report received and forwarded. Copy sent to Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>.
(Sun, 11 Apr 2021 17:18:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 02:08:59 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.