Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2017 15:52:16 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325400 - head/etc/rc.d
Message-ID:  <201711041552.vA4FqGWR029654@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sat Nov  4 15:52:16 2017
New Revision: 325400
URL: https://svnweb.freebsd.org/changeset/base/325400

Log:
  Make autofs(5) rc scripts run earlier, matching those for amd(8).
  
  This helps when you have some daemons that need to access automounted shares.
  
  PR:		221011
  MFC after:	2 weeks

Modified:
  head/etc/rc.d/automount
  head/etc/rc.d/automountd
  head/etc/rc.d/autounmountd

Modified: head/etc/rc.d/automount
==============================================================================
--- head/etc/rc.d/automount	Sat Nov  4 15:50:05 2017	(r325399)
+++ head/etc/rc.d/automount	Sat Nov  4 15:52:16 2017	(r325400)
@@ -5,6 +5,7 @@
 
 # PROVIDE: automount
 # REQUIRE: nfsclient automountd
+# BEFORE: DAEMON
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Modified: head/etc/rc.d/automountd
==============================================================================
--- head/etc/rc.d/automountd	Sat Nov  4 15:50:05 2017	(r325399)
+++ head/etc/rc.d/automountd	Sat Nov  4 15:52:16 2017	(r325400)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: automountd
-# REQUIRE: DAEMON
+# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: head/etc/rc.d/autounmountd
==============================================================================
--- head/etc/rc.d/autounmountd	Sat Nov  4 15:50:05 2017	(r325399)
+++ head/etc/rc.d/autounmountd	Sat Nov  4 15:52:16 2017	(r325400)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: autounmountd
-# REQUIRE: DAEMON
+# REQUIRE: FILESYSTEMS
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr



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