conf/109980: /etc/rc.d/netif restart doesn't destroy
cloned_interfaces
Marat N.Afanasyev
marat at zealot.ksu.ru
Tue Mar 6 11:30:04 UTC 2007
>Number: 109980
>Category: conf
>Synopsis: /etc/rc.d/netif restart doesn't destroy cloned_interfaces
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 06 11:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Marat N.Afanasyev
>Release: FreeBSD 6.2-RELEASE amd64
>Organization:
n/a
>Environment:
System: FreeBSD zealot.ksu.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 13 21:47:07 MSK 2007 root at zealot.ksu.ru:/usr/obj/usr/src/sys/ZEALOT amd64
>Description:
/etc/rc.d/netif script doesn't destroy cloned interfaces,
e.g. vlanXX, when called with restart parameter. This leads to
impossibility to reconfigure cloned devices, because of
error produced by ifconfig. Before restart interfaces
one should destroy all cloned interfaces manually
>How-To-Repeat:
add cloned_interfaces to /etc/rc.conf:
cloned_interfaces="vlan2"
add ifconfig_vlan2 to /etc/rc.conf:
ifconfig_vlan2="vlan 2 vlandev ifXX 192.168.0.1 255.255.255.0"
try to restart netifs two times
look to:
ifconfig: SIOCIFCREATE: File exists
error string, and look to vlan2 interface.
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list