/etc/rc.d/netif runs first "ifconfig interface inet x.x.x.x delete" and then "ifconfig interface inet x.x.x.x -alias" for network interface aliases defined in /etc/rc.conf with ifconfig_<int>_aliasX syntax. The second attempt to remove an address results an error. Fix: Patch attached with submission follows: How-To-Repeat: /etc/rc.conf: ifconfig_vr0="inet 10.0.0.3 netmask 255.0.0.0" ifconfig_vr0_alias0="inet 10.0.0.4" # /etc/rc.d/netif stop vr0 Stopping network:ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address vr0. (after applying the attached patch) # /etc/rc.d/netif stop vr0 Stopping network: vr0.
Responsible Changed From-To: freebsd-bugs->freebsd-rc Over to rc mailing list
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>