Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 09:55:45 GMT
From:      Dmity Andrianov <freebsd@dima.spb.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/96094: startup scripts do not configure gif interfaces under certain circumstances
Message-ID:  <200604200955.k3K9tjWM010522@www.freebsd.org>
Resent-Message-ID: <200604201000.k3KA0PZI040407@freefall.freebsd.org>

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

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



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