From nobody@FreeBSD.org  Mon Nov 22 02:54:02 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CA1C3106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Nov 2010 02:54:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B8FAD8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Nov 2010 02:54:02 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oAM2s2ap085289
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Nov 2010 02:54:02 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id oAM2s2Fg085283;
	Mon, 22 Nov 2010 02:54:02 GMT
	(envelope-from nobody)
Message-Id: <201011220254.oAM2s2Fg085283@red.freebsd.org>
Date: Mon, 22 Nov 2010 02:54:02 GMT
From: Alex D <AlexJ@freebsd-forums.liquidneon.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Obsolete ip6fw in the /etc/rc.d/network_ipv6
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152469
>Category:       bin
>Synopsis:       Obsolete ip6fw in the /etc/rc.d/network_ipv6
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gjb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 22 03:00:23 UTC 2010
>Closed-Date:    Mon Nov 22 04:16:07 UTC 2010
>Last-Modified:  Mon Nov 22 04:20:10 UTC 2010
>Originator:     Alex D
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
FreeBSD test.private.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Subject: Obsolete ip6fw in the
    /usr/src/etc/rc.d/network_ipv6
    /etc/rc.d/network_ipv6


according to /usr/src/UPDATING
    20100408:
            The rc.firewall and rc.firewall6 were unified, and
            rc.firewall6 and rc.d/ip6fw were removed.
            According to the removal of rc.d/ip6fw, ipv6_firewall_* rc
            variables are obsoleted.  Instead, the following new rc
            variables are added to rc.d/ipfw:

                firewall_client_net_ipv6, firewall_simple_iif_ipv6,
                firewall_simple_inet_ipv6, firewall_simple_oif_ipv6,
                firewall_simple_onet_ipv6

            The meanings correspond to the relevant IPv4 variables.


ip6fw was removed but:
    /usr/src/etc/rc.d/network_ipv6
    /etc/rc.d/network_ipv6

still have requirement for ip6fw
    # REQUIRE: routing ip6fw

that cause 'rcorder' produce following error:
rcorder: requirement `ip6fw' in file `/etc/rc.d/network_ipv6' has no providers.

>How-To-Repeat:
rcorder /etc/rc.d/* | grep rcorder



>Fix:
suggestion: remove obsolete 'ip6fw' from 
    /usr/src/etc/rc.d/network_ipv6
    /etc/rc.d/network_ipv6
========================================
--- /usr/src/etc/rc.d/network_ipv6
+++ b/network_ipv6
@@ -29,7 +29,7 @@
 #

 # PROVIDE: network_ipv6
-# REQUIRE: routing ip6fw
+# REQUIRE: routing
 # KEYWORD: nojail

 . /etc/rc.subr
========================================


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gjb 
State-Changed-When: Mon Nov 22 04:14:57 UTC 2010 
State-Changed-Why:  
Was resolved by r212140 to stable/8. 



Responsible-Changed-From-To: freebsd-bugs->gjb 
Responsible-Changed-By: gjb 
Responsible-Changed-When: Mon Nov 22 04:14:57 UTC 2010 
Responsible-Changed-Why:  
Track. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=152469 

From: Glen Barber <glen.j.barber@gmail.com>
To: Alex D <AlexJ@freebsd-forums.liquidneon.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/152469: Obsolete ip6fw in the /etc/rc.d/network_ipv6
Date: Sun, 21 Nov 2010 23:14:10 -0500

 On 11/21/10 9:54 PM, Alex D wrote:
 >> Number:         152469
 >> Category:       bin
 >> Synopsis:       Obsolete ip6fw in the /etc/rc.d/network_ipv6
 >> Confidential:   no
 >> Severity:       serious
 >> Priority:       high
 >> Responsible:    freebsd-bugs
 >> State:          open
 >> Quarter:        
 >> Keywords:       
 >> Date-Required:
 >> Class:          change-request
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Mon Nov 22 03:00:23 UTC 2010
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Alex D
 >> Release:        FreeBSD 8.1-RELEASE i386
 >> Organization:
 >> Environment:
 > FreeBSD test.private.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 > 
 >> Description:
 > Subject: Obsolete ip6fw in the
 >     /usr/src/etc/rc.d/network_ipv6
 >     /etc/rc.d/network_ipv6
 > 
 > 
 > according to /usr/src/UPDATING
 >     20100408:
 >             The rc.firewall and rc.firewall6 were unified, and
 >             rc.firewall6 and rc.d/ip6fw were removed.
 >             According to the removal of rc.d/ip6fw, ipv6_firewall_* rc
 >             variables are obsoleted.  Instead, the following new rc
 >             variables are added to rc.d/ipfw:
 > 
 >                 firewall_client_net_ipv6, firewall_simple_iif_ipv6,
 >                 firewall_simple_inet_ipv6, firewall_simple_oif_ipv6,
 >                 firewall_simple_onet_ipv6
 > 
 >             The meanings correspond to the relevant IPv4 variables.
 > 
 > 
 > ip6fw was removed but:
 >     /usr/src/etc/rc.d/network_ipv6
 >     /etc/rc.d/network_ipv6
 > 
 > still have requirement for ip6fw
 >     # REQUIRE: routing ip6fw
 > 
 > that cause 'rcorder' produce following error:
 > rcorder: requirement `ip6fw' in file `/etc/rc.d/network_ipv6' has no providers.
 > 
 >> How-To-Repeat:
 > rcorder /etc/rc.d/* | grep rcorder
 > 
 > 
 > 
 >> Fix:
 > suggestion: remove obsolete 'ip6fw' from 
 >     /usr/src/etc/rc.d/network_ipv6
 >     /etc/rc.d/network_ipv6
 > ========================================
 > --- /usr/src/etc/rc.d/network_ipv6
 > +++ b/network_ipv6
 > @@ -29,7 +29,7 @@
 >  #
 > 
 >  # PROVIDE: network_ipv6
 > -# REQUIRE: routing ip6fw
 > +# REQUIRE: routing
 >  # KEYWORD: nojail
 > 
 >  . /etc/rc.subr
 
 
 Hi!
 
 This was fixed in September.  The relevant SVN log follows:
 
 r212140 | ume | 2010-09-02 02:49:27 -0400 (Thu, 02 Sep 2010) | 6 lines
 
 We don't have etc/rc.d/ip6fw anymore.
 Since HEAD doesn't have etc/rc.d/network_ipv6,
 this commit is directly into RELENG_8.
 
 Spotted by:     takachan__at__running-dog.net
 
 Thank you for the report.
 
 -- 
 Glen Barber
>Unformatted:
