[systemd-devel] fstab generator and nfs-client.target

Michael Biebl mbiebl at gmail.com
Sat Jul 25 03:50:39 PDT 2015


2015-07-25 3:18 GMT+02:00 Rich Freeman <r-systemd at thefreemanclan.net>:
> I noticed that mount units for nfs shares created by the generator do
> not Want=nfs-client.target or similar.
>
> That means that if you don't explicitly want nfs-client in your
> configuration then nfs shares will get mounted, but services like
> rpc-statd-notify.service won't run.
>
> Would it make sense to have the generator add the nfs-client target as
> a want to nfs mount services it creates?

remote mount units do have a "After remote-fs-pre.target" ordering and
tools like nfs-common/rpcbind are supposed to hook up into
remote-fs-pre.target.

http://www.freedesktop.org/software/systemd/man/systemd.special.html#remote-fs-pre.target

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list