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.)
This commit is contained in:
Rick Macklem 2018-06-22 20:58:51 +00:00
parent 531b456983
commit 9d48901e34
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335566

View File

@ -4,7 +4,7 @@
#
# PROVIDE: nfsd
# REQUIRE: mountd hostname gssd nfsuserd
# REQUIRE: mountcritremote mountd hostname gssd nfsuserd
# KEYWORD: nojail shutdown
. /etc/rc.subr