Jonathan Kang changed bug 1212627
What Removed Added
Flags   needinfo?

Comment # 7 on bug 1212627 from Jonathan Kang
(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: