[systemd-devel] network-online.target and manual mounts

Andrey Borzenkov arvidjaar at gmail.com
Wed Jan 1 11:43:15 PST 2014


systemd.special(7) suggests that network-online.target should be pulled
in by consumer. Unfortunately, that means that when booting without
active consumer (let's say no NFS mounts in fstab) network-online.target
is not started at all. If NFS is mounted manually later, no
synchronization point exists on shutdown, so network may be stopped
before NFS is unmounted. This leads to prolonged timeout.

Is there any mechanism to start it when NFS (or other network) mount
appears? The very existence of network mount could be considered as
indication that network *is* online?



More information about the systemd-devel mailing list