[Bug 1212627] NetworkManager: network interface not configured before SSH daemon is started
https://bugzilla.suse.com/show_bug.cgi?id=1212627 https://bugzilla.suse.com/show_bug.cgi?id=1212627#c7 Jonathan Kang <songchuan.kang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #7 from Jonathan Kang <songchuan.kang@suse.com> --- (In reply to Adam Majer from comment #6)
Created attachment 867859 [details] fails after NetworkManager
With additional changes,
# /etc/systemd/system/sshd.service.d/01-after-network.conf [Unit] After=NetworkManager-wait-online.service
[Service] Restart=always RestartSec=5s RestartPreventExitStatus=
SSHD comes up *most of the time* while still failing sometimes. That is, Network Maanger signals via NetworkManager-wait-online.service that it is complete, but the IP address is still not available for bind by SSHD. I've attached a log that shows exactly this.
sshd[1225]: error: Bind to port 22 on 2a01:4f8:c012:9cdf:0:aead:1:aead failed: Cannot assign requested address
sshd waits for an ipv6 address, is this intentional? In this logs you provided, when sshd starts, there is already an ipv4 address available. But there is no ipv6 address assigned yet. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com