Hey guys, I sent this to current@ but got no bites.  Anyone here have a
comment or suggestion on a better fix?  The patch to change the order of
execution of /etc/rc.d stuff is working nice here, so I am trying to get
the (positive) attention of a developer/committer.

Thanks for your attention.

-- 
Mike Oliver, KI4OFU
[see complete headers for contact information]
--- Begin Message ---
Hi folks,

First, let me say that I don't really know wtf I am doing with /etc/rc.d
stuff, but I have cobbled together what I think is a fix to my
pf-before-inet6 problem (see pf@ list for my email a few days ago).
Anyway, here is the change in order by the attached patch:



--- /root/rcorder.old   Mon Apr 24 13:48:04 2006
+++ /root/rcorder.new   Mon Apr 24 14:26:12 2006
@@ -26,18 +26,18 @@
 serial
 pccard
 netif
-isdnd
-ppp
-ipfw
-nsswitch
 ip6addrctl
 atm2
+network_ipv6
 pfsync
 pflog
 pf
+isdnd
+ppp
 routing
 ip6fw
-network_ipv6
+ipfw
+nsswitch
 mroute6d
 route6d
 mrouted



I don't use any ATM, isdn, ppp, etc. stuff on this machine, so I can't
tell for sure whether or not this change in order of execution has any
detrimental effects.  I can say, however, that my pf.conf now loads as
it should, AFTER the ipv6 stuff in rc.conf.

Anyone want to comment, modify or commit?

Thanks for your time guys.

-- 
Mike Oliver, KI4OFU
[see complete headers for contact information]
diff -ruN /etc/rc.d.orig/NETWORKING /etc/rc.d/NETWORKING
--- /etc/rc.d.orig/NETWORKING   Tue Jan 10 12:51:47 2006
+++ /etc/rc.d/NETWORKING        Mon Apr 24 13:44:25 2006
@@ -5,7 +5,7 @@
 #
 
 # PROVIDE: NETWORKING NETWORK
-# REQUIRE: netif routing network_ipv6 isdnd ppp
+# REQUIRE: netif network_ipv6 routing isdnd ppp
 # REQUIRE: routed mrouted route6d mroute6d
 
 #      This is a dummy dependency, for services which require networking
diff -ruN /etc/rc.d.orig/atm2 /etc/rc.d/atm2
--- /etc/rc.d.orig/atm2 Tue Jan 10 12:51:47 2006
+++ /etc/rc.d/atm2      Mon Apr 24 14:17:05 2006
@@ -28,7 +28,7 @@
 #
 
 # PROVIDE: atm2
-# REQUIRE: atm1 netif
+# REQUIRE: atm1 netif ip6addrctl
 # BEFORE:  routing
 # KEYWORD: nojail
 
diff -ruN /etc/rc.d.orig/ip6fw /etc/rc.d/ip6fw
--- /etc/rc.d.orig/ip6fw        Tue Jan 10 12:51:48 2006
+++ /etc/rc.d/ip6fw     Mon Apr 24 14:14:09 2006
@@ -4,8 +4,8 @@
 #
 
 # PROVIDE: ip6fw
-# REQUIRE: routing
-# BEFORE: network_ipv6
+# REQUIRE: network_ipv6 routing
+# BEFORE: NETWORKING
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/mroute6d /etc/rc.d/mroute6d
--- /etc/rc.d.orig/mroute6d     Tue Jan 10 12:51:48 2006
+++ /etc/rc.d/mroute6d  Mon Apr 24 14:05:19 2006
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mroute6d
-# REQUIRE: network_ipv6
+# REQUIRE: network_ipv6 routing
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/network_ipv6 /etc/rc.d/network_ipv6
--- /etc/rc.d.orig/network_ipv6 Tue Jan 10 12:51:48 2006
+++ /etc/rc.d/network_ipv6      Mon Apr 24 13:41:07 2006
@@ -29,7 +29,7 @@
 #
 
 # PROVIDE: network_ipv6
-# REQUIRE: routing
+# REQUIRE: mountcritlocal
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/pf /etc/rc.d/pf
--- /etc/rc.d.orig/pf   Mon Apr 24 10:36:10 2006
+++ /etc/rc.d/pf        Mon Apr 24 14:12:38 2006
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: pf
-# REQUIRE: root mountcritlocal netif pflog pfsync
+# REQUIRE: root mountcritlocal netif network_ipv6 pflog pfsync
 # BEFORE:  routing
 # KEYWORD: nojail
 
diff -ruN /etc/rc.d.orig/pflog /etc/rc.d/pflog
--- /etc/rc.d.orig/pflog        Mon Apr 24 10:36:15 2006
+++ /etc/rc.d/pflog     Mon Apr 24 14:12:28 2006
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: pflog
-# REQUIRE: root mountcritlocal netif cleanvar
+# REQUIRE: root mountcritlocal netif network_ipv6 cleanvar
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/pfsync /etc/rc.d/pfsync
--- /etc/rc.d.orig/pfsync       Mon Apr 24 10:36:23 2006
+++ /etc/rc.d/pfsync    Mon Apr 24 14:20:25 2006
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: pfsync
-# REQUIRE: root mountcritlocal netif
+# REQUIRE: root mountcritlocal netif network_ipv6
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/route6d /etc/rc.d/route6d
--- /etc/rc.d.orig/route6d      Tue Jan 10 12:51:49 2006
+++ /etc/rc.d/route6d   Mon Apr 24 14:05:09 2006
@@ -5,7 +5,7 @@
 #
 
 # PROVIDE: route6d
-# REQUIRE: network_ipv6
+# REQUIRE: network_ipv6 routing
 # KEYWORD: nojail
 
 . /etc/rc.subr
diff -ruN /etc/rc.d.orig/routing /etc/rc.d/routing
--- /etc/rc.d.orig/routing      Tue Jan 10 12:51:49 2006
+++ /etc/rc.d/routing   Mon Apr 24 13:41:59 2006
@@ -6,7 +6,7 @@
 #
 
 # PROVIDE: routing
-# REQUIRE: netif ppp
+# REQUIRE: netif network_ipv6 ppp
 # KEYWORD: nojail
 
 . /etc/rc.subr

Attachment: pgpYe09XlfQGR.pgp
Description: PGP signature


--- End Message ---

Attachment: pgp16ZDu4dlib.pgp
Description: PGP signature

Reply via email to