Date: Tue, 6 Mar 2007 13:41:20 +0300 (MSK) From: "Marat N.Afanasyev" <marat@zealot.ksu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/109980: /etc/rc.d/netif restart doesn't destroy cloned_interfaces Message-ID: <200703061041.l26AfKc3029947@zealot.ksu.ru> Resent-Message-ID: <200703061130.l26BU35T036008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703061041.l26AfKc3029947>