Bug 1925438
| Summary: | sshd sometimes starts too early, before the network is ready, and fails | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Steffen Froemer <sfroemer> |
| Component: | openssh | Assignee: | Jakub Jelen <jjelen> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | ||
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-08 13:05:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steffen Froemer
2021-02-05 08:07:11 UTC
Its documented in RHEL7 and RHEL8 System administrator guide: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/ch-openssh#s2-ssh-configuration-sshd https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#configuring-and-starting-an-openssh-server_using-secure-communications-between-two-systems-with-openssh > To specify different addresses than the default 0.0.0.0 (IPv4) or :: (IPv6) for > the ListenAddress directive in the /etc/ssh/sshd_config configuration file and > to use a slower dynamic network configuration, add the dependency on the > network-online.target target unit to the sshd.service unit file. To achieve this, > create the /etc/systemd/system/sshd.service.d/local.conf file with the following content: > [Unit] > Wants=network-online.target > After=network-online.target Do you have some better way or better place of documenting this? (In reply to Jakub Jelen from comment #3) > Its documented in RHEL7 and RHEL8 System administrator guide: Honestly I wasn't aware of this. As it's documented in a well known format, there is no further need. I'm closing this BZ now. |