Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 14:53:54 -0400
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        current@freebsd.org
Subject:   patch for pf-before-inet6 in rc.d
Message-ID:  <20060424185354.GA90821@gargantuan.com>

next in thread | raw e-mail | index | archive | help

--RASg3xLB4tUQ4RcS
Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5"
Content-Disposition: inline


--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Mike Oliver, KI4OFU
[see complete headers for contact information]

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="rc.d_patch"
Content-Transfer-Encoding: quoted-printable

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 @@
 #
=20
 # PROVIDE: NETWORKING NETWORK
-# REQUIRE: netif routing network_ipv6 isdnd ppp
+# REQUIRE: netif network_ipv6 routing isdnd ppp
 # REQUIRE: routed mrouted route6d mroute6d
=20
 #	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 @@
 #
=20
 # PROVIDE: atm2
-# REQUIRE: atm1 netif
+# REQUIRE: atm1 netif ip6addrctl
 # BEFORE:  routing
 # KEYWORD: nojail
=20
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 @@
 #
=20
 # PROVIDE: ip6fw
-# REQUIRE: routing
-# BEFORE: network_ipv6
+# REQUIRE: network_ipv6 routing
+# BEFORE: NETWORKING
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: mroute6d
-# REQUIRE: network_ipv6
+# REQUIRE: network_ipv6 routing
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: network_ipv6
-# REQUIRE: routing
+# REQUIRE: mountcritlocal
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: pf
-# REQUIRE: root mountcritlocal netif pflog pfsync
+# REQUIRE: root mountcritlocal netif network_ipv6 pflog pfsync
 # BEFORE:  routing
 # KEYWORD: nojail
=20
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 @@
 #
=20
 # PROVIDE: pflog
-# REQUIRE: root mountcritlocal netif cleanvar
+# REQUIRE: root mountcritlocal netif network_ipv6 cleanvar
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: pfsync
-# REQUIRE: root mountcritlocal netif
+# REQUIRE: root mountcritlocal netif network_ipv6
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: route6d
-# REQUIRE: network_ipv6
+# REQUIRE: network_ipv6 routing
 # KEYWORD: nojail
=20
 . /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 @@
 #
=20
 # PROVIDE: routing
-# REQUIRE: netif ppp
+# REQUIRE: netif network_ipv6 ppp
 # KEYWORD: nojail
=20
 . /etc/rc.subr

--bg08WKrSYDhXBjb5--

--RASg3xLB4tUQ4RcS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFETR7CsWv7q8X6o8kRAniJAKCOZPL0L4v6nOFCSlinEc3UHonEqwCfT37Z
RALHNU8tN35APOQ41Fmi6io=
=qDZa
-----END PGP SIGNATURE-----

--RASg3xLB4tUQ4RcS--



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