chiark / gitweb /
mount: adjust dependencies for remote filesystems
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 7 Feb 2012 10:05:18 +0000 (11:05 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Tue, 7 Feb 2012 10:22:48 +0000 (11:22 +0100)
commitdb1355b1c181a4b1ac277064918d7c794dfb6edd
tree86b735b562803bbd534cc715434ab83314163468
parentd26e4270409506cd398875216413b651d6ee7de6
mount: adjust dependencies for remote filesystems

Currently remote mounts automatically get:
 After=remote-fs-pre.target network.target

remote-fs-pre.target is already After=network.target. Just make sure
remote-fs-pre.target is pulled in by remote-fs.target if any remote
filesystems are configured.
For the mount units it is then sufficient to get:
 After=remote-fs-pre.target

Later NetworkManager will hook its NM-wait-online.service into
remote-fs-pre.target.wants in order to remove the need for the administrator
to enable the service manually when he has any remote filesystems.

https://bugzilla.redhat.com/show_bug.cgi?id=787314
src/mount.c