conf/109980: /etc/rc.d/netif restart doesn't destroy cloned_interfaces

Marat N.Afanasyev marat at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 11:30:03 GMT 2007
>Originator:     Marat N.Afanasyev
>Release:        FreeBSD 6.2-RELEASE amd64
System: FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Sat Jan 13 21:47:07 MSK 2007 root at amd64

	/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
	add cloned_interfaces to /etc/rc.conf:
	add ifconfig_vlan2 to /etc/rc.conf:
	ifconfig_vlan2="vlan 2 vlandev ifXX"
	try to restart netifs two times
	look to:
	ifconfig: SIOCIFCREATE: File exists 
	error string, and look to vlan2 interface.



More information about the freebsd-bugs mailing list