Adam Majer changed bug 1212627
What Removed Added
Flags needinfo?(amajer@suse.com)  

Comment # 5 on bug 1212627 from Adam Majer
Created attachment 867858 [details]
sshd can't bind to ip address

Attached. You see in the journal that systemd started later, but that only
happens since I modified sshd service file to always try to restart


systemctl cat sshd
# /usr/lib/systemd/system/sshd.service
[Unit]
Description=OpenSSH Daemon
After=network.target

[Service]
Type=notify
EnvironmentFile=-/etc/sysconfig/ssh
ExecStartPre=/usr/sbin/sshd-gen-keys-start
ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
TasksMax=infinity

[Install]
WantedBy=multi-user.target

# /etc/systemd/system/sshd.service.d/01-after-network.conf
#[Unit]
#After=NetworkManager-wait-online.service

[Service]
Restart=always
RestartSec=5s
RestartPreventExitStatus=


You are receiving this mail because: