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:
rmacklem 2018-06-22 20:58:51 +00:00
parent 335720eb73
commit e7832c2cf2

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