Your message dated Thu, 9 Oct 2025 09:37:47 +0200 with message-id <aOdmS0SAB5YImqrO@bongo.bofh.it> and subject line Re: Bug#986761: openssh fails to start when using ListenAddress and systemd-network has caused the Debian Bug report #986761, regarding openssh fails to start when using ListenAddress and systemd-network to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 986761: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986761 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: openssh fails to start when using ListenAddress and systemd-network
- From: Daniel Baumann <daniel.baumann@progress-linux.org>
- Date: Sun, 11 Apr 2021 19:15:42 +0200
- Message-id: <3cef884c-25e2-cef6-1aef-99b56e20814b@progress-linux.org>
- Reply-to: daniel.baumann@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
--- End Message ---
--- Begin Message ---
- To: daniel.baumann@progress-linux.org, 986761-done@bugs.debian.org
- Subject: Re: Bug#986761: openssh fails to start when using ListenAddress and systemd-network
- From: Marco d'Itri <md@Linux.IT>
- Date: Thu, 9 Oct 2025 09:37:47 +0200
- Message-id: <aOdmS0SAB5YImqrO@bongo.bofh.it>
- In-reply-to: <3cef884c-25e2-cef6-1aef-99b56e20814b@progress-linux.org>
- References: <3cef884c-25e2-cef6-1aef-99b56e20814b@progress-linux.org>
On Apr 11, Daniel Baumann <daniel.baumann@progress-linux.org> wrote:I guess systemd-networkd reports "network.target" to early that it completed its stuff (when it has not).You need to add a drop-in with: After=network-online.target -- ciao, MarcoAttachment: signature.asc
Description: PGP signature
--- End Message ---