Date: Tue, 25 Apr 2006 16:52:23 -0400 From: "Michael W. Oliver" <michael@gargantuan.com> To: pf@freebsd.org Subject: [michael@gargantuan.com: patch for pf-before-inet6 in rc.d] Message-ID: <20060425205223.GB90821@gargantuan.com>
next in thread | raw e-mail | index | archive | help
--oj4kGyHlBMXGt3Le Content-Type: multipart/mixed; boundary="pAwQNkOnpTn9IO2O" Content-Disposition: inline --pAwQNkOnpTn9IO2O Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Mike Oliver, KI4OFU [see complete headers for contact information] --pAwQNkOnpTn9IO2O Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <owner-freebsd-current@freebsd.org> X-Original-To: michael@gargantuan.com Delivered-To: michael@gargantuan.com Received: from srv01.lak.lwxdatacom.net (fxp0.srv01.lak.lwxdatacom.net [IPv6:2001:4830:2502:8002::ac10:a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by phoenix.gargantuan.com (Postfix) with ESMTP id B2E68112 for <michael@gargantuan.com>; Mon, 24 Apr 2006 14:56:49 -0400 (EDT) Received-SPF: pass (srv01.lak.lwxdatacom.net: domain of freebsd.org designates 216.136.204.119 as permitted sender) client-ip=216.136.204.119; envelope-from=owner-freebsd-current@freebsd.org; helo=mx2.freebsd.org; Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by srv01.lak.lwxdatacom.net (Postfix) with ESMTP id EE11E25452 for <michael@gargantuan.com>; Mon, 24 Apr 2006 14:56:48 -0400 (EDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A321C5C49C; Mon, 24 Apr 2006 18:54:28 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4F8FA16A4C8; Mon, 24 Apr 2006 18:54:22 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE5FF16A412 for <current@freebsd.org>; Mon, 24 Apr 2006 18:54:11 +0000 (UTC) (envelope-from michael@gargantuan.com) Received: from phoenix.gargantuan.com (srv01.lak.lwxdatacom.net [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E3243D64 for <current@freebsd.org>; Mon, 24 Apr 2006 18:53:59 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 256A6644; Mon, 24 Apr 2006 14:53:54 -0400 (EDT) Date: Mon, 24 Apr 2006 14:53:54 -0400 From: "Michael W. Oliver" <michael@gargantuan.com> To: current@freebsd.org Message-ID: <20060424185354.GA90821@gargantuan.com> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline X-WWW-URL: http://michael.gargantuan.com X-GPG-PGP-Public-Key: http://michael.gargantuan.com/gnupg/pubkey.asc X-GPG-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Mailing-Address0: 8008 Apache Lane X-Mailing-Address1: Lakeland, FL X-Mailing-Address2: 33810-2172 X-Mailing-Address3: United States of America X-Guide-Questions: http://www.catb.org/~esr/faqs/smart-questions.html X-Guide-Netiquette: http://www.ietf.org/rfc/rfc1855.txt User-Agent: mutt-ng/devel-r774 (FreeBSD) Cc: Subject: patch for pf-before-inet6 in rc.d X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org --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-- --pAwQNkOnpTn9IO2O-- --oj4kGyHlBMXGt3Le Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFETowHsWv7q8X6o8kRAiPWAKCqIC98UZQh0WTm07F4Qgz5vnQvuQCeL6Hg KfvYOH/Ap7+2527l1Mg3VbM= =XnJZ -----END PGP SIGNATURE----- --oj4kGyHlBMXGt3Le--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060425205223.GB90821>