summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd_proc.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-02-15 10:33:49 -0500
committerSteve Dickson <steved@redhat.com>2017-02-15 10:41:59 -0500
commit40346e1503c3d52b43ed3fe2bf56742ac5454553 (patch)
treec15045becf429fc829aaceb077bf8b37f5d0c340 /utils/gssd/gssd_proc.c
parent48cdcf68a9209ae239dfc3d1a0b482089ef2cd2a (diff)
downloadnfs-utils-40346e1503c3d52b43ed3fe2bf56742ac5454553.tar.gz
nfs-utils-40346e1503c3d52b43ed3fe2bf56742ac5454553.tar.xz
nfs-utils-40346e1503c3d52b43ed3fe2bf56742ac5454553.zip
nfs-server-generator: handle 'noauto' mounts correctly
When this code was written, the systemd documentation stated that "RequiresMountsFor" ignored mountpoints marked as "noauto". Unfortunately this is incorrect. Consquently a filesystem marked as noauto that is also NFS exported will currently be mounted when the NFS server is started. This is not what people expect. So add a check for the noauto flag. If any ancestor of a given export point has the noauto flag, no RequiresMountsFor will be generated for that point. Also skip RequiresMountsFor for exports marked 'mountpoint', as their absence is, theoretically, already handled by mountd. URL: https://github.com/systemd/systemd/issues/5249 Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd_proc.c')
0 files changed, 0 insertions, 0 deletions