Subject: correct "direction" of barriers in rc.d
To: None <tech-userlevel@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 03/20/2002 10:33:21
--kORqDWCi7qDJ0mEj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

While building an image for an embedded system, I wanted to really
cut down on the number of scripts in /etc/rc.d.  Unfortunately, the
barrier dependencies (DAEMON, LOGIN, etc.) REQUIRE a bunch of scripts
that I wanted to remove (because I didn't need them).  This causes
rcorder(8) to complain about missing requirements.

I've mentioned this problem to Luke before, actually.  The problem is
that those barrier dependencies don't *actually* require anything, but
rather all the things listed in their REQUIRE lines simply need to be
started before the barrier.  Therefore, it seems logical that rather
than listing those things as REQUIRE, the individual scripts that want
to be started before some barrier should list that barrier in a BEFORE
statement.

Now, Luke thinks this is an abuse of the BEFORE keyword.  However, I
strongly disagree.  Rather, I think it actually describes what the
real requirement is in a straightforward way.  I also think that REQUIRE
should only list *actual requirements*, e.g. mountd requires rpcbind.

I have diffs that correct the "direction" of the barrier dependencies.
A comparison of the before vs. after ordering shows some differences,
but the shuffling should not matter -- the barriers are still in the
correct place.

Comments?

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

--kORqDWCi7qDJ0mEj
Content-Type: text/plain; charset=us-ascii
Content-Description: rc-diffs
Content-Disposition: attachment; filename=rc-diffs

Index: DAEMON
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/DAEMON,v
retrieving revision 1.7
diff -u -r1.7 DAEMON
--- DAEMON	2002/01/31 01:26:05	1.7
+++ DAEMON	2002/03/20 18:13:06
@@ -5,9 +5,6 @@
 
 # PROVIDE: DAEMON
 # REQUIRE: NETWORKING SERVERS
-# REQUIRE: accounting aftermountlkm amd cleartmp dmesg ipmon
-# REQUIRE: ipnat ipsec ldconfig named nonlocalswap nfslocking
-# REQUIRE: pwcheck quota savecore securelevel sysctl sysdb virecover ypbind
 
 #	This is a dummy dependency, to ensure that general purpose daemons
 #	are run _after_ the above are.
Index: LOGIN
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/LOGIN,v
retrieving revision 1.6
diff -u -r1.6 LOGIN
--- LOGIN	2001/04/19 16:00:29	1.6
+++ LOGIN	2002/03/20 18:13:06
@@ -5,9 +5,6 @@
 
 # PROVIDE: LOGIN
 # REQUIRE: DAEMON
-# REQUIRE: apmd bootparams dhcpd dhcrelay local lpd mopd motd
-# REQUIRE: mrouted ntpd rarpd rbootd route6d routed rtadvd rtsold
-# REQUIRE: rwho screenblank timed wscons xfs yppasswdd
 
 #	This is a dummy dependency to ensure user services such as xdm,
 #	inetd, cron and kerberos are started after everything else, incase
Index: NETWORKING
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/NETWORKING,v
retrieving revision 1.1
diff -u -r1.1 NETWORKING
--- NETWORKING	2002/01/31 01:26:05	1.1
+++ NETWORKING	2002/03/20 18:13:06
@@ -4,7 +4,6 @@
 #
 
 # PROVIDE: NETWORKING NETWORK
-# REQUIRE: network dhclient altqd
 
 #	This is a dummy dependency, for services which require networking
 #	to be operational before starting.
Index: SERVERS
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/SERVERS,v
retrieving revision 1.8
diff -u -r1.8 SERVERS
--- SERVERS	2001/04/26 03:56:20	1.8
+++ SERVERS	2002/03/20 18:13:06
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: SERVERS
-# REQUIRE: ike ipmon isdnd kdc mountcritremote newsyslog ppp savecore syslogd
+# REQUIRE: mountcritremote
 
 #	This is a dummy dependency, for early-start servers relying on
 #	some basic configuration.
Index: accounting
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/accounting,v
retrieving revision 1.6
diff -u -r1.6 accounting
--- accounting	2001/04/29 23:57:25	1.6
+++ accounting	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: accounting
 # REQUIRE: mountall
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: altqd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/altqd,v
retrieving revision 1.1
diff -u -r1.1 altqd
--- altqd	2001/04/05 23:55:00	1.1
+++ altqd	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: altqd
 # REQUIRE: network mountcritlocal dhclient
+# BEFORE: NETWORKING
 # KEYWORD: shutdown
 
 . /etc/rc.subr
Index: amd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/amd,v
retrieving revision 1.8
diff -u -r1.8 amd
--- amd	2001/06/17 01:05:40	1.8
+++ amd	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: amd
 # REQUIRE: rpcbind mountall ypbind
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: apmd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/apmd,v
retrieving revision 1.4
diff -u -r1.4 apmd
--- apmd	2000/09/19 13:04:38	1.4
+++ apmd	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: apmd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: bootparams
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/bootparams,v
retrieving revision 1.5
diff -u -r1.5 bootparams
--- bootparams	2000/09/19 13:04:38	1.5
+++ bootparams	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: bootparams
 # REQUIRE: rpcbind DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: cleartmp
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/cleartmp,v
retrieving revision 1.3
diff -u -r1.3 cleartmp
--- cleartmp	2000/09/19 13:04:38	1.3
+++ cleartmp	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: cleartmp
 # REQUIRE: mountall
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: dhclient
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/dhclient,v
retrieving revision 1.7
diff -u -r1.7 dhclient
--- dhclient	2000/09/19 13:04:38	1.7
+++ dhclient	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: dhclient
 # REQUIRE: network mountcritlocal
+# BEFORE: NETWORKING
 #
 #	Note that there no syslog logging of dhclient messages at boot because
 #	dhclient needs to start before services that syslog depends upon do.
Index: dhcpd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/dhcpd,v
retrieving revision 1.4
diff -u -r1.4 dhcpd
--- dhcpd	2000/09/19 13:04:38	1.4
+++ dhcpd	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: dhcpd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: dhcrelay
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/dhcrelay,v
retrieving revision 1.4
diff -u -r1.4 dhcrelay
--- dhcrelay	2000/09/19 13:04:38	1.4
+++ dhcrelay	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: dhcrelay
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: dmesg
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/dmesg,v
retrieving revision 1.6
diff -u -r1.6 dmesg
--- dmesg	2001/04/25 23:23:37	1.6
+++ dmesg	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: dmesg
 # REQUIRE: mountcritremote
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: ipmon
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ipmon,v
retrieving revision 1.5
diff -u -r1.5 ipmon
--- ipmon	2002/02/28 01:06:13	1.5
+++ ipmon	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: ipmon
 # REQUIRE: syslogd
+# BEFORE: DAEMON SERVERS
 
 . /etc/rc.subr
 
Index: ipnat
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ipnat,v
retrieving revision 1.6
diff -u -r1.6 ipnat
--- ipnat	2000/09/19 13:04:38	1.6
+++ ipnat	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: ipnat
 # REQUIRE: ipfilter mountcritremote
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: ipsec
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ipsec,v
retrieving revision 1.6
diff -u -r1.6 ipsec
--- ipsec	2000/09/19 13:04:38	1.6
+++ ipsec	2002/03/20 18:13:06
@@ -5,6 +5,7 @@
 
 # PROVIDE: ipsec
 # REQUIRE: root beforenetlkm mountcritlocal tty
+# BEFORE: DAEMON
 
 #	it does not really require beforenetlkm.
 
Index: isdnd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/isdnd,v
retrieving revision 1.6
diff -u -r1.6 isdnd
--- isdnd	2002/03/16 17:03:41	1.6
+++ isdnd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: isdnd
 # REQUIRE: NETWORKING syslogd mountcritremote
+# BEFORE: SERVERS
 #
 #	Note that this means that syslogd will not be listening on
 #	any isdn addresses.  This is considered a feature.
Index: kdc
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/kdc,v
retrieving revision 1.4
diff -u -r1.4 kdc
--- kdc	2002/01/31 01:26:05	1.4
+++ kdc	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: kdc
 # REQUIRE: NETWORKING
+# BEFORE: SERVERS
 
 . /etc/rc.subr
 
Index: ldconfig
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ldconfig,v
retrieving revision 1.4
diff -u -r1.4 ldconfig
--- ldconfig	2001/04/25 13:00:17	1.4
+++ ldconfig	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: ldconfig
 # REQUIRE: mountall
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: lkm3
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/lkm3,v
retrieving revision 1.5
diff -u -r1.5 lkm3
--- lkm3	2000/09/19 13:04:38	1.5
+++ lkm3	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: aftermountlkm
 # REQUIRE: mountall
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: local
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/local,v
retrieving revision 1.5
diff -u -r1.5 local
--- local	2000/08/21 23:33:06	1.5
+++ local	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # REQUIRE: DAEMON
 # PROVIDE: local
+# BEFORE: LOGIN
 # KEYWORD: shutdown
 
 . /etc/rc.subr
Index: lpd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/lpd,v
retrieving revision 1.4
diff -u -r1.4 lpd
--- lpd	2000/09/19 13:04:38	1.4
+++ lpd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: lpd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: mopd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/mopd,v
retrieving revision 1.4
diff -u -r1.4 mopd
--- mopd	2000/09/19 13:04:38	1.4
+++ mopd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: mopd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: motd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/motd,v
retrieving revision 1.7
diff -u -r1.7 motd
--- motd	2001/04/25 23:23:37	1.7
+++ motd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: motd
 # REQUIRE: mountcritremote
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: mrouted
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/mrouted,v
retrieving revision 1.5
diff -u -r1.5 mrouted
--- mrouted	2000/09/19 13:04:39	1.5
+++ mrouted	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: mrouted
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: named
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/named,v
retrieving revision 1.8
diff -u -r1.8 named
--- named	2001/10/11 07:10:08	1.8
+++ named	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: named
 # REQUIRE: SERVERS
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: network
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/network,v
retrieving revision 1.33
diff -u -r1.33 network
--- network	2001/07/22 13:33:59	1.33
+++ network	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: network
 # REQUIRE: ipfilter ipsec mountcritlocal root tty sysctl
+# BEFORE: NETWORKING
 
 . /etc/rc.subr
 
Index: newsyslog
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/newsyslog,v
retrieving revision 1.2
diff -u -r1.2 newsyslog
--- newsyslog	2001/08/18 19:50:19	1.2
+++ newsyslog	2002/03/20 18:13:07
@@ -5,7 +5,7 @@
 
 # PROVIDE: newsyslog
 # REQUIRE: mountcritremote sysdb
-# BEFORE: syslogd
+# BEFORE: syslogd SERVERS
 
 . /etc/rc.subr
 
Index: nfslocking
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/nfslocking,v
retrieving revision 1.4
diff -u -r1.4 nfslocking
--- nfslocking	2000/09/19 13:04:39	1.4
+++ nfslocking	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: nfslocking
 # REQUIRE: nfsd
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: ntpd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ntpd,v
retrieving revision 1.4
diff -u -r1.4 ntpd
--- ntpd	2002/01/18 10:51:30	1.4
+++ ntpd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: ntpd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: ppp
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ppp,v
retrieving revision 1.5
diff -u -r1.5 ppp
--- ppp	2001/02/11 00:51:35	1.5
+++ ppp	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: ppp
 # REQUIRE: mountcritremote syslogd
+# BEFORE: SERVERS
 #
 #	Note that this means that syslogd will not be listening on
 #	any PPP addresses.  This is considered a feature.
Index: pwcheck
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/pwcheck,v
retrieving revision 1.3
diff -u -r1.3 pwcheck
--- pwcheck	2000/07/26 00:11:49	1.3
+++ pwcheck	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: pwcheck
 # REQUIRE: mountcritremote syslogd
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: quota
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/quota,v
retrieving revision 1.2
diff -u -r1.2 quota
--- quota	2000/05/13 08:45:08	1.2
+++ quota	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: quota
 # REQUIRE: mountall
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: racoon
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/racoon,v
retrieving revision 1.2
diff -u -r1.2 racoon
--- racoon	2001/04/26 03:55:16	1.2
+++ racoon	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: ike
 # REQUIRE: isdnd kdc ppp
+# BEFORE: SERVERS
 
 . /etc/rc.subr
 
Index: rarpd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/rarpd,v
retrieving revision 1.4
diff -u -r1.4 rarpd
--- rarpd	2000/09/19 13:04:39	1.4
+++ rarpd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: rarpd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: rbootd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/rbootd,v
retrieving revision 1.5
diff -u -r1.5 rbootd
--- rbootd	2000/09/19 13:04:39	1.5
+++ rbootd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: rbootd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: route6d
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/route6d,v
retrieving revision 1.4
diff -u -r1.4 route6d
--- route6d	2000/09/19 13:04:39	1.4
+++ route6d	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: route6d
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: routed
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/routed,v
retrieving revision 1.6
diff -u -r1.6 routed
--- routed	2001/04/06 09:38:54	1.6
+++ routed	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: routed
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: rtadvd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/rtadvd,v
retrieving revision 1.4
diff -u -r1.4 rtadvd
--- rtadvd	2000/09/19 13:04:39	1.4
+++ rtadvd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: rtadvd
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: rtsold
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/rtsold,v
retrieving revision 1.4
diff -u -r1.4 rtsold
--- rtsold	2000/09/19 13:04:39	1.4
+++ rtsold	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: rtsold
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: rwho
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/rwho,v
retrieving revision 1.4
diff -u -r1.4 rwho
--- rwho	2000/09/19 13:04:39	1.4
+++ rwho	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: rwho
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: savecore
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/savecore,v
retrieving revision 1.3
diff -u -r1.3 savecore
--- savecore	2000/09/19 13:04:39	1.3
+++ savecore	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: savecore
 # REQUIRE: syslogd
+# BEFORE: DAEMON SERVERS
 
 . /etc/rc.subr
 
Index: screenblank
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/screenblank,v
retrieving revision 1.4
diff -u -r1.4 screenblank
--- screenblank	2000/09/19 13:04:39	1.4
+++ screenblank	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: screenblank
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: securelevel
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/securelevel,v
retrieving revision 1.3
diff -u -r1.3 securelevel
--- securelevel	2002/03/01 17:58:00	1.3
+++ securelevel	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: securelevel
 # REQUIRE: aftermountlkm ipnat mountd
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: swap2
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/swap2,v
retrieving revision 1.5
diff -u -r1.5 swap2
--- swap2	2000/08/21 23:35:41	1.5
+++ swap2	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: nonlocalswap
 # REQUIRE: mountcritremote
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: sysctl
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/sysctl,v
retrieving revision 1.9
diff -u -r1.9 sysctl
--- sysctl	2000/08/21 23:31:24	1.9
+++ sysctl	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: sysctl
 # REQUIRE: root ipfilter ipsec
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: sysdb
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/sysdb,v
retrieving revision 1.8
diff -u -r1.8 sysdb
--- sysdb	2001/04/16 01:38:15	1.8
+++ sysdb	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: sysdb
 # REQUIRE: mountcritremote
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: syslogd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/syslogd,v
retrieving revision 1.10
diff -u -r1.10 syslogd
--- syslogd	2002/02/20 01:49:59	1.10
+++ syslogd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: syslogd
 # REQUIRE: mountcritremote sysdb wscons
+# BEFORE: SERVERS
 
 . /etc/rc.subr
 
Index: timed
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/timed,v
retrieving revision 1.4
diff -u -r1.4 timed
--- timed	2000/09/19 13:04:39	1.4
+++ timed	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: timed
 # REQUIRE: DAEMON
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: virecover
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/virecover,v
retrieving revision 1.5
diff -u -r1.5 virecover
--- virecover	2001/04/11 21:02:44	1.5
+++ virecover	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: virecover
 # REQUIRE: mountcritremote
+# BEFORE: DAEMON
 #
 # XXX: should require `mail'!
 
Index: wscons
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/wscons,v
retrieving revision 1.7
diff -u -r1.7 wscons
--- wscons	2001/05/02 15:14:03	1.7
+++ wscons	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: wscons
 # REQUIRE: mountcritremote
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: xfs
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/xfs,v
retrieving revision 1.5
diff -u -r1.5 xfs
--- xfs	2000/11/09 00:05:31	1.5
+++ xfs	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: xfs
 # REQUIRE: mountall cleartmp
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 
Index: ypbind
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/ypbind,v
retrieving revision 1.4
diff -u -r1.4 ypbind
--- ypbind	2000/09/19 13:04:39	1.4
+++ ypbind	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: ypbind
 # REQUIRE: ypserv
+# BEFORE: DAEMON
 
 . /etc/rc.subr
 
Index: yppasswdd
===================================================================
RCS file: /cvsroot/basesrc/etc/rc.d/yppasswdd,v
retrieving revision 1.5
diff -u -r1.5 yppasswdd
--- yppasswdd	2000/09/19 13:04:39	1.5
+++ yppasswdd	2002/03/20 18:13:07
@@ -5,6 +5,7 @@
 
 # PROVIDE: yppasswdd
 # REQUIRE: ypserv ypbind
+# BEFORE: LOGIN
 
 . /etc/rc.subr
 

--kORqDWCi7qDJ0mEj--