misc/96094: startup scripts do not configure gif interfaces under certain circumstances

Dmity Andrianov freebsd at dima.spb.ru
Thu Apr 20 10:00:26 UTC 2006


>Number:         96094
>Category:       misc
>Synopsis:       startup scripts do not configure gif interfaces under certain circumstances
>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:   Thu Apr 20 10:00:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmity Andrianov
>Release:        FreeBSD 6.0-RELEASE #0
>Organization:
DataArt
>Environment:
>Description:

The list_net_interfaces() function of /etc/network.subr uses the following code to build list of interfaces when network_interfaces is NOT set to "auto":

                _tmplist="${network_interfaces} ${cloned_interfaces}"

This does not account gif interfaces specified with gif_interfaces option. Of course it is possible to set gif_interfaces equal to cloned_interfaces in the /etc/rc.conf but this will cause "ifconfig gifN create" to be executed twice (second invocation reports error - interface already created)
>How-To-Repeat:

>Fix:

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


More information about the freebsd-bugs mailing list