Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 02:54:02 GMT
From:      Alex D <AlexJ@freebsd-forums.liquidneon.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/152469: Obsolete ip6fw in the /etc/rc.d/network_ipv6
Message-ID:  <201011220254.oAM2s2Fg085283@red.freebsd.org>
Resent-Message-ID: <201011220300.oAM30NE0006860@freefall.freebsd.org>

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

>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
========================================


>Release-Note:
>Audit-Trail:
>Unformatted:



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