svn commit: r242153 - stable/9/etc/rc.d

David E. O'Brien obrien at FreeBSD.org
Fri Oct 26 18:06:50 UTC 2012


Author: obrien
Date: Fri Oct 26 18:06:49 2012
New Revision: 242153
URL: http://svn.freebsd.org/changeset/base/242153

Log:
  MFC: r240336:
    Simply things so that "#REQUIRE: FILESYSTEMS" means the file
    systems are fully "ready to go".
  
    'FILESYSTEMS' states: "This is a dummy dependency, for services which
    require file systems to be mounted before starting."  However, we have
    'var' which is was run after 'FILESYSTEMS' and can mount /var if it
    already isn't mounted.  Furthermore, several scripts cannot use /var
    until 'cleanvar' has done its thing.  Thus "FILESYSTEMS" hasn't really
    meant all critical file systems are fully usable.

Modified:
  stable/9/etc/rc.d/FILESYSTEMS
  stable/9/etc/rc.d/addswap
  stable/9/etc/rc.d/amd
  stable/9/etc/rc.d/cleanvar
  stable/9/etc/rc.d/cron
  stable/9/etc/rc.d/dmesg
  stable/9/etc/rc.d/ftpd
  stable/9/etc/rc.d/inetd
  stable/9/etc/rc.d/ipmon
  stable/9/etc/rc.d/jail
  stable/9/etc/rc.d/ldconfig
  stable/9/etc/rc.d/mixer
  stable/9/etc/rc.d/mountcritremote
  stable/9/etc/rc.d/moused
  stable/9/etc/rc.d/mrouted
  stable/9/etc/rc.d/named
  stable/9/etc/rc.d/netif
  stable/9/etc/rc.d/newsyslog
  stable/9/etc/rc.d/ntpd
  stable/9/etc/rc.d/pflog
  stable/9/etc/rc.d/random
  stable/9/etc/rc.d/rarpd
  stable/9/etc/rc.d/resolv
  stable/9/etc/rc.d/sendmail
  stable/9/etc/rc.d/sshd
  stable/9/etc/rc.d/syslogd
  stable/9/etc/rc.d/var
  stable/9/etc/rc.d/watchdogd
Directory Properties:
  stable/9/   (props changed)
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.d/FILESYSTEMS
==============================================================================
--- stable/9/etc/rc.d/FILESYSTEMS	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/FILESYSTEMS	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: FILESYSTEMS
-# REQUIRE: root mountcritlocal zfs
+# REQUIRE: root mountcritlocal cleanvar zfs
 
 #	This is a dummy dependency, for services which require file systems
 #	to be mounted before starting.  It also serves as the default early /

Modified: stable/9/etc/rc.d/addswap
==============================================================================
--- stable/9/etc/rc.d/addswap	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/addswap	Fri Oct 26 18:06:49 2012	(r242153)
@@ -7,6 +7,7 @@
 
 # PROVIDE: addswap
 # REQUIRE: FILESYSTEMS kld
+# BEFORE:  netif
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/amd
==============================================================================
--- stable/9/etc/rc.d/amd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/amd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: amd
-# REQUIRE: rpcbind ypset nfsclient cleanvar ldconfig
+# REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
 # BEFORE: DAEMON
 # KEYWORD: nojail shutdown
 

Modified: stable/9/etc/rc.d/cleanvar
==============================================================================
--- stable/9/etc/rc.d/cleanvar	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/cleanvar	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: cleanvar
-# REQUIRE: FILESYSTEMS var
+# REQUIRE: var
 
 . /etc/rc.subr
 

Modified: stable/9/etc/rc.d/cron
==============================================================================
--- stable/9/etc/rc.d/cron	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/cron	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: cron
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: LOGIN FILESYSTEMS
 # BEFORE: securelevel
 # KEYWORD: shutdown
 

Modified: stable/9/etc/rc.d/dmesg
==============================================================================
--- stable/9/etc/rc.d/dmesg	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/dmesg	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: dmesg
-# REQUIRE: mountcritremote cleanvar
+# REQUIRE: mountcritremote FILESYSTEMS
 # BEFORE:  DAEMON
 # KEYWORD: nojail
 

Modified: stable/9/etc/rc.d/ftpd
==============================================================================
--- stable/9/etc/rc.d/ftpd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/ftpd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: ftpd
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: LOGIN FILESYSTEMS
 # KEYWORD: shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/inetd
==============================================================================
--- stable/9/etc/rc.d/inetd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/inetd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: inetd
-# REQUIRE: DAEMON LOGIN cleanvar
+# REQUIRE: DAEMON LOGIN FILESYSTEMS
 # KEYWORD: shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/ipmon
==============================================================================
--- stable/9/etc/rc.d/ipmon	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/ipmon	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: ipmon
-# REQUIRE: FILESYSTEMS hostname sysctl cleanvar ipfilter
+# REQUIRE: FILESYSTEMS hostname sysctl FILESYSTEMS ipfilter
 # BEFORE:  SERVERS
 # KEYWORD: nojail
 

Modified: stable/9/etc/rc.d/jail
==============================================================================
--- stable/9/etc/rc.d/jail	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/jail	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: jail
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: LOGIN FILESYSTEMS
 # BEFORE: securelevel
 # KEYWORD: nojail shutdown
 

Modified: stable/9/etc/rc.d/ldconfig
==============================================================================
--- stable/9/etc/rc.d/ldconfig	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/ldconfig	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: ldconfig
-# REQUIRE: mountcritremote cleanvar
+# REQUIRE: mountcritremote FILESYSTEMS
 # BEFORE:  DAEMON
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/mixer
==============================================================================
--- stable/9/etc/rc.d/mixer	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/mixer	Fri Oct 26 18:06:49 2012	(r242153)
@@ -28,7 +28,7 @@
 #
 
 # PROVIDE: mixer
-# REQUIRE: cleanvar
+# REQUIRE: FILESYSTEMS
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/mountcritremote
==============================================================================
--- stable/9/etc/rc.d/mountcritremote	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/mountcritremote	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mountcritremote
-# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec netwait
+# REQUIRE: NETWORKING FILESYSTEMS ipsec netwait
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/moused
==============================================================================
--- stable/9/etc/rc.d/moused	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/moused	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: moused
-# REQUIRE: DAEMON cleanvar
+# REQUIRE: DAEMON FILESYSTEMS
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/mrouted
==============================================================================
--- stable/9/etc/rc.d/mrouted	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/mrouted	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mrouted
-# REQUIRE: netif routing cleanvar
+# REQUIRE: netif routing FILESYSTEMS
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/named
==============================================================================
--- stable/9/etc/rc.d/named	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/named	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: named
-# REQUIRE: SERVERS cleanvar
+# REQUIRE: SERVERS FILESYSTEMS
 # KEYWORD: shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/netif
==============================================================================
--- stable/9/etc/rc.d/netif	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/netif	Fri Oct 26 18:06:49 2012	(r242153)
@@ -26,7 +26,7 @@
 #
 
 # PROVIDE: netif
-# REQUIRE: atm1 cleanvar FILESYSTEMS serial sppp sysctl
+# REQUIRE: atm1 FILESYSTEMS serial sppp sysctl
 # REQUIRE: ipfilter ipfs
 # KEYWORD: nojail
 

Modified: stable/9/etc/rc.d/newsyslog
==============================================================================
--- stable/9/etc/rc.d/newsyslog	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/newsyslog	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: newsyslog
-# REQUIRE: cleanvar mountcritremote
+# REQUIRE: FILESYSTEMS mountcritremote
 
 . /etc/rc.subr
 

Modified: stable/9/etc/rc.d/ntpd
==============================================================================
--- stable/9/etc/rc.d/ntpd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/ntpd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: ntpd
-# REQUIRE: DAEMON ntpdate cleanvar devfs
+# REQUIRE: DAEMON ntpdate FILESYSTEMS devfs
 # BEFORE:  LOGIN
 # KEYWORD: nojail shutdown
 

Modified: stable/9/etc/rc.d/pflog
==============================================================================
--- stable/9/etc/rc.d/pflog	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/pflog	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: pflog
-# REQUIRE: FILESYSTEMS netif cleanvar
+# REQUIRE: FILESYSTEMS netif FILESYSTEMS
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/random
==============================================================================
--- stable/9/etc/rc.d/random	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/random	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: random
-# REQUIRE: var initrandom
+# REQUIRE: initrandom FILESYSTEMS
 # BEFORE: netif
 # KEYWORD: nojail shutdown
 

Modified: stable/9/etc/rc.d/rarpd
==============================================================================
--- stable/9/etc/rc.d/rarpd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/rarpd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: rarpd
-# REQUIRE: DAEMON cleanvar
+# REQUIRE: DAEMON FILESYSTEMS
 # BEFORE:  LOGIN
 # KEYWORD: nojail
 

Modified: stable/9/etc/rc.d/resolv
==============================================================================
--- stable/9/etc/rc.d/resolv	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/resolv	Fri Oct 26 18:06:49 2012	(r242153)
@@ -28,7 +28,7 @@
 #
 
 # PROVIDE: resolv
-# REQUIRE: netif var
+# REQUIRE: netif FILESYSTEMS
 # KEYWORD: nojail
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/sendmail
==============================================================================
--- stable/9/etc/rc.d/sendmail	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/sendmail	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mail
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: LOGIN FILESYSTEMS
 #	we make mail start late, so that things like .forward's are not
 #	processed until the system is fully operational
 # KEYWORD: shutdown

Modified: stable/9/etc/rc.d/sshd
==============================================================================
--- stable/9/etc/rc.d/sshd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/sshd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: sshd
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: LOGIN FILESYSTEMS
 # KEYWORD: shutdown
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/syslogd
==============================================================================
--- stable/9/etc/rc.d/syslogd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/syslogd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: syslogd
-# REQUIRE: mountcritremote cleanvar newsyslog
+# REQUIRE: mountcritremote FILESYSTEMS newsyslog
 # BEFORE:  SERVERS
 
 . /etc/rc.subr

Modified: stable/9/etc/rc.d/var
==============================================================================
--- stable/9/etc/rc.d/var	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/var	Fri Oct 26 18:06:49 2012	(r242153)
@@ -28,7 +28,9 @@
 #
 
 # PROVIDE: var
-# REQUIRE: FILESYSTEMS kld addswap
+# REQUIRE: mountcritlocal zfs
+
+# NFS /var is not supported, unless NFS /var is part of diskless NFS /
 
 . /etc/rc.subr
 

Modified: stable/9/etc/rc.d/watchdogd
==============================================================================
--- stable/9/etc/rc.d/watchdogd	Fri Oct 26 17:51:05 2012	(r242152)
+++ stable/9/etc/rc.d/watchdogd	Fri Oct 26 18:06:49 2012	(r242153)
@@ -28,7 +28,7 @@
 #
 
 # PROVIDE: watchdogd
-# REQUIRE: FILESYSTEMS cleanvar syslogd
+# REQUIRE: FILESYSTEMS syslogd
 # KEYWORD: nojail shutdown
 
 . /etc/rc.subr


More information about the svn-src-stable-9 mailing list