>Number:         172532
>Category:       misc
>Synopsis:       [rc] service routing restart always fails
>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:   Tue Oct 09 22:30:15 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9.1-RC1
>Organization:
EMC Isilon
>Environment:
FreeBSD  9.1-RC2 FreeBSD 9.1-RC2 #0 r241311: Sun Oct  7 11:07:00 PDT 2012     
[email protected]:/tmp/9.1/obj/tmp/9.1/src/sys/GENERIC  amd64
>Description:
Before patch...

# service routing restart
delete net ::ffff:0.0.0.0: gateway ::1
delete net ::0.0.0.0: gateway ::1
delete net 3ffe::: gateway em1
delete net fe80::: gateway ::1
delete net ff02::: gateway ::1
ifconfig: interface auto does not exist
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net 3ffe::: gateway em1
add net fe80::: gateway ::1
add net ff02::: gateway ::1

After patch...

# service routing restart
delete net ::ffff:0.0.0.0: gateway ::1
delete net ::0.0.0.0: gateway ::1
delete net 3ffe::: gateway em1
delete net fe80::: gateway ::1
delete net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net 3ffe::: gateway em1
add net fe80::: gateway ::1
add net ff02::: gateway ::1
>How-To-Repeat:
1. Set network_interfaces="auto".
2. Run `service routing restart` with IPv6 enabled.
>Fix:


Patch attached with submission follows:

Index: /scratch/freebsd/head/etc/rc.d/routing
===================================================================
--- /scratch/freebsd/head/etc/rc.d/routing      (revision 241213)
+++ /scratch/freebsd/head/etc/rc.d/routing      (working copy)
@@ -184,6 +184,9 @@
        [Nn][Oo][Nn][Ee])
                ipv6_network_interfaces=''
                ;;
+       [Aa][Uu][Tt][Oo])
+               ipv6_network_interfaces=`list_net_interfaces`
+               ;;
        esac
 
        if checkyesno ipv6_gateway_enable; then


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to