misc/148961: [PATCH] netstart and network_ipv6 contains references to nonexistent files

Emil Smolenski am at raisa.eu.org
Mon Jul 26 12:40:04 UTC 2010


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


More information about the freebsd-bugs mailing list