Bug 875328

Summary: network service fails to detect and configure wireless devices after upgrade to kernel 3.6
Product: [Fedora] Fedora Reporter: Paul Jenner <psj>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: iarlyy, jonathan, lnykryn, notting, plautrba, rvokal, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-20 03:07:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Jenner 2012-11-10 14:42:33 UTC
The network service fails to configure wireless specifics on wireless interfaces after upgrade to kernel 3.6.

The network service configures wireless specifics on the condition that it detects that a device is wireless based on presence of wireless under sysfs. wireless is no longer present in sysfs under kernel 3.6 so this condition fails:

[root@localhost ~]# uname -a
Linux localhost.localdomain 3.4.11-1.fc16.i686 #1 SMP Sun Sep 16 14:41:18 UTC 2012 i686 i686 i386 GNU/Linux
[root@localhost ~]# ls -1d /sys/class/net/*/wireless
/sys/class/net/eth0/wireless
/sys/class/net/wifi0/wireless

[root@localhost ~]# uname -a
Linux localhost.localdomain 3.6.6-1.fc16.i686 #1 SMP Mon Nov 5 17:16:32 UTC 2012 i686 i686 i386 GNU/Linux
[root@localhost ~]# ls -1d /sys/class/net/*/wireless
ls: cannot access /sys/class/net/*/wireless: No such file or directory

The sysfs based check was added in this initscripts commit:

http://git.fedorahosted.org/cgit/initscripts.git/diff/?id=af401fb40f6dd5139e8468dfe1bd3dafe40e8e93

If I revert that commit manually, the network service configures wireless specifics again for me under kernel 3.6.

Version-Release number of selected component (if applicable):
[root@localhost ~]# rpm -q initscripts kernel
initscripts-9.34.3-1.fc16.i686
kernel-3.4.11-1.fc16.i686
kernel-3.6.6-1.fc16.i686

How reproducible:
Always

Steps to Reproduce:
1. Configure wireless devices to start under the network service
2. Upgrade to kernel 3.6
3. Boot
  
Actual results:
Wireless interfaces are not configured with wireless specifics at boot.

Expected results:
Wireless interfaces shoudl be cofnigured with wireless specifcs at boot as they were with kernel 3.4.

Comment 1 Paul Jenner 2012-11-10 14:45:27 UTC
I think wireless extensions in sysfs were removed in this kernel commit in 3.6:

https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=35b2a113cb0298d4f9a1263338b456094a414057

Comment 2 Fedora Update System 2012-11-12 21:50:41 UTC
initscripts-9.42-1.fc18.2 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/initscripts-9.42-1.fc18.2

Comment 3 Fedora Update System 2012-11-13 19:05:40 UTC
Package initscripts-9.42-1.fc18.2:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.42-1.fc18.2'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18100/initscripts-9.42-1.fc18.2
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-15 22:20:32 UTC
initscripts-9.37.2-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/initscripts-9.37.2-1.fc17

Comment 5 Fedora Update System 2012-11-15 22:23:30 UTC
initscripts-9.34.4-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/initscripts-9.34.4-1.fc16

Comment 6 Paul Jenner 2012-11-19 20:17:40 UTC
initscripts-9.34.4-1.fc16 in updates-testing fixes this for me. Thanks!

Comment 7 Fedora Update System 2012-11-20 03:07:05 UTC
initscripts-9.37.2-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-11-24 03:31:00 UTC
initscripts-9.34.4-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-11-27 05:01:49 UTC
initscripts-9.42-1.fc18.2 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-12-07 21:37:47 UTC
initscripts-9.42.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/initscripts-9.42.1-1.fc18

Comment 11 Fedora Update System 2012-12-11 05:58:36 UTC
initscripts-9.42.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.