Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 20:58:51 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335566 - head/etc/rc.d
Message-ID:  <201806222058.w5MKwplk090426@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806222058.w5MKwplk090426>