How to delay the startup of a system service or mount of remote file system until the network is fully available
A service configured to bind to a specific IP address fails with Cannot assign requested address or similar error message
A service configured to bind to a specific IPv6 address fails to start even if it is configured to start after
A remote file system (e.g. NFS, CIFS) configured to connect to a specific IPv6 address fails to mount automatically at boot
[...] systemd: remote.mount: Mounting timed out. Terminating. [...] remote.mount: Mount process exited, code=killed status=15 [...] remote.mount: Failed with result 'timeout'. [...] systemd: Failed to mount /remote.
A remote file system (e.g. NFS, CIFS) configured to connect to a hostname fails to mount automatically at boot
The system serving as NFS server fails to export its directories to NFS clients
[...] exportfs[XXX]: exportfs: Failed to resolve <some nfs client name>
- Red Hat Enterprise Linux 7 and later
- dovecot, httpd, sshd, ...
- NFS, CIFS
- IPv6 but also IPv4 when using name resolution
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.