svn commit: r335566 - head/etc/rc.d
Rick Macklem
rmacklem at FreeBSD.org
Fri Jun 22 20:58:52 UTC 2018
Author: rmacklem
Date: Fri Jun 22 20:58:51 2018
New Revision: 335566
URL: https://svnweb.freebsd.org/changeset/base/335566
Log:
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.)
Modified:
head/etc/rc.d/nfsd
Modified: head/etc/rc.d/nfsd
==============================================================================
--- head/etc/rc.d/nfsd Fri Jun 22 20:53:39 2018 (r335565)
+++ head/etc/rc.d/nfsd Fri Jun 22 20:58:51 2018 (r335566)
@@ -4,7 +4,7 @@
#
# PROVIDE: nfsd
-# REQUIRE: mountd hostname gssd nfsuserd
+# REQUIRE: mountcritremote mountd hostname gssd nfsuserd
# KEYWORD: nojail shutdown
. /etc/rc.subr
More information about the svn-src-head
mailing list