Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2010 12:39:02 GMT
From:      Emil Smolenski <am@raisa.eu.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/148961: [PATCH] netstart and network_ipv6 contains references to nonexistent files
Message-ID:  <201007261239.o6QCd2jf086526@www.freebsd.org>
Resent-Message-ID: <201007261240.o6QCe4r2076988@freefall.freebsd.org>

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

>Number:         148961
>Category:       misc
>Synopsis:       [PATCH] netstart and network_ipv6 contains references to nonexistent files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 12:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Emil Smolenski
>Release:        8.1-STABLE
>Organization:
>Environment:
>Description:
/etc/netstart tries to execute nonexistent /etc/rc.d/ip6fw script:

# /etc/netstart
(...)
/etc/netstart: /etc/rc.d/ip6fw: not found
(...)

# ls /etc/rc.d/ip6fw
ls: /etc/rc.d/ip6fw: No such file or directory

Also /etc/rc.d/network_ipv6 contains reference to ip6fw:

# grep ip6fw /etc/rc.d/network_ipv6
# REQUIRE: routing ip6fw
>How-To-Repeat:
# /etc/netstart
# grep ip6fw /etc/rc.d/network_ipv6
# ls /etc/rc.d/ip6fw
>Fix:
Look at the attached patch. I'm not sure if patch for the network_ipv6 is proper.

Patch attached with submission follows:

diff -ruN etc.orig/netstart etc/netstart
--- etc.orig/netstart	2009-08-03 10:13:06.000000000 +0200
+++ etc/netstart	2010-07-26 13:02:21.819860465 +0200
@@ -55,7 +55,6 @@
 /etc/rc.d/dhclient ${_start}
 /etc/rc.d/ppp ${_start}
 /etc/rc.d/ipfw ${_start}
-/etc/rc.d/ip6fw ${_start}
 /etc/rc.d/network_ipv6 ${_start}
 /etc/rc.d/routing ${_start}
 /etc/rc.d/mroute6d ${_start}
diff -ruN etc.orig/rc.d/network_ipv6 etc/rc.d/network_ipv6
--- etc.orig/rc.d/network_ipv6	2009-08-03 10:13:06.000000000 +0200
+++ etc/rc.d/network_ipv6	2010-07-26 13:02:40.223567202 +0200
@@ -29,7 +29,7 @@
 #
 
 # PROVIDE: network_ipv6
-# REQUIRE: routing ip6fw
+# REQUIRE: routing ipfw
 # 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?201007261239.o6QCd2jf086526>