Bugzilla – Bug 539669
wireless initscripts wants iw tool, but not depends on it
Last modified: 2021-02-26 20:24:20 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-3.5 Firefox/3.5.2 script /etc/sysconfig/network/scripts/ifup-wireless tests if iw command exists (test is at line 185) and refuse to enable wireless interface if iw not found. Sysconfig package (where mentioned script belongs to) don't depend on iw package. This cause not working wireless interface after upgrade. Reproducible: Always Steps to Reproduce: 1. upgrade from milestone6 to current factory 2. reboot 3. try rcnetwork restart Actual Results: Setting up network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) eth0 IP address: 192.168.172.1/24 eth0 done wlan0 name: ASUSTeK BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller cannot find 'iw', please install wlan0 done Setting up service network . . . . . . . . . . Expected Results: Setting up network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) eth0 IP address: 192.168.172.1/24 eth0 done wlan0 name: ASUSTeK BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller wlan0 starting wpa_supplicant wlan0 Starting DHCP4 client. . wlan0 IP address: 172.16.42.42/24 (moje) wlan0
Yes, there is a new requirement because of wireless regulatory domain. Sysconfig provides only rpm dependencies to configure 'normal eth' interfaces -- all another are considered optional and requested by yast2 network when such interface is in use.
Michal, can you add the new wireless dependency/check for 'iw' utility/package to the next yast2 network? Thanks! [BTW: Another way would be to split sysconfig into several packages and maintain the dependencies there. But this is nothing for 11.2.]
*** Bug 541717 has been marked as a duplicate of this bug. ***
Ahm... yast2 is not doing anything while update and can not fix it... I'll change the check to complain only when the 'iw' utility is really required.
In OBS, Base:System/sysconfig, submit request to factory 21578.
ahm... a typo. new request id 21579
*** Bug 544665 has been marked as a duplicate of this bug. ***
fixed in yast2-network-2.18.51
This is an autogenerated message for OBS integration: This bug (539669) was mentioned in https://build.opensuse.org/request/show/21579 Factory / sysconfig