[systemd-devel] Should automount units for network filesystems be Before=local-fs.target?
Martin Wilck
mwilck at suse.com
Thu Apr 27 11:57:05 UTC 2017
On Thu, 2017-04-27 at 15:53 +1000, Michael Chapman wrote:
> Hello all,
>
> At present, when systemd-fstab-generator creates an automount unit
> for an
> fstab entry, it applies the dependencies that would have been put
> into the
> mount unit into the automount unit instead.
>
> For a local filesystem, this automount unit would be
> Before=local-fs.target. For a network filesystem, it gets
> Before=remote-fs.target. If the mount is not noauto, it also gets a
> corresponding WantedBy= or RequiredBy= dependency.
>
> Would it make more sense for the automount unit to be ordered before
> (and,
> if not noauto, be pulled in by) local-fs.target, even for network
> filesystems?
Please don't. We don't need additional failure points for local-
fs.target.
Martin
--
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
More information about the systemd-devel
mailing list