Author: trasz
Date: Mon Apr 16 15:54:38 2018
New Revision: 332584
URL: https://svnweb.freebsd.org/changeset/base/332584

Log:
  MFC r325400:
  
  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

Modified:
  stable/11/etc/rc.d/automount
  stable/11/etc/rc.d/automountd
  stable/11/etc/rc.d/autounmountd
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/rc.d/automount
==============================================================================
--- stable/11/etc/rc.d/automount        Mon Apr 16 15:53:44 2018        
(r332583)
+++ stable/11/etc/rc.d/automount        Mon Apr 16 15:54:38 2018        
(r332584)
@@ -5,6 +5,7 @@
 
 # PROVIDE: automount
 # REQUIRE: nfsclient automountd
+# BEFORE: DAEMON
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Modified: stable/11/etc/rc.d/automountd
==============================================================================
--- stable/11/etc/rc.d/automountd       Mon Apr 16 15:53:44 2018        
(r332583)
+++ stable/11/etc/rc.d/automountd       Mon Apr 16 15:54:38 2018        
(r332584)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: automountd
-# REQUIRE: DAEMON
+# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/11/etc/rc.d/autounmountd
==============================================================================
--- stable/11/etc/rc.d/autounmountd     Mon Apr 16 15:53:44 2018        
(r332583)
+++ stable/11/etc/rc.d/autounmountd     Mon Apr 16 15:54:38 2018        
(r332584)
@@ -4,7 +4,8 @@
 #
 
 # PROVIDE: autounmountd
-# REQUIRE: DAEMON
+# REQUIRE: FILESYSTEMS
+# BEFORE: DAEMON
 # KEYWORD: nojail
 
 . /etc/rc.subr
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to