aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2018-06-22 20:58:51 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2018-06-22 20:58:51 +0000
commit9d48901e345150be2274e9abf2028e9474f4d623 (patch)
treecc7b93bf2b5e5567fded6ab14cc23a6c7affca79
parent531b4569830a6a1417cf5550d3d699a287922a33 (diff)
downloadsrc-9d48901e345150be2274e9abf2028e9474f4d623.tar.gz
src-9d48901e345150be2274e9abf2028e9474f4d623.zip
Add "mountcritremote" to the REQUIRE line for nfsd.
For a pNFS MDS server, there must be mounts done to the DSs before the nfsd is started. Adding the REQUIRE line makes sure these are done. If there are NFS mounts in /etc/fstab that cannot be completed before the nfsd starts, the "bg" mount option can still be used to handle that. I do not believe this should cause problems for non-pNFS NFS servers. (I have requested a review by rc@, but it is still pending.)
Notes
Notes: svn path=/head/; revision=335566
-rwxr-xr-xetc/rc.d/nfsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd
index d06eae3a5286..33ad356e05e9 100755
--- a/etc/rc.d/nfsd
+++ b/etc/rc.d/nfsd
@@ -4,7 +4,7 @@
#
# PROVIDE: nfsd
-# REQUIRE: mountd hostname gssd nfsuserd
+# REQUIRE: mountcritremote mountd hostname gssd nfsuserd
# KEYWORD: nojail shutdown
. /etc/rc.subr