Bug 1435366

Summary: Please rebuils hostapd for F24 with ACS support
Product: [Fedora] Fedora Reporter: Xavier Bachelot <xavier>
Component: hostapdAssignee: John W. Linville <linville>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: linville, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hostapd-2.5-5.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-04 20:49:56 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 Xavier Bachelot 2017-03-23 15:48:45 UTC
Description of problem:
hostapd in Fedora 24 is built w/o ACS support, unlike hostapd in Fedora 25.

From the F25 changelog :
* Tue Apr 19 2016 Sascha Spreitzer <sspreitz> - 2.5-3
- Enable ACS feature (automatic channel switching)

Could the f25 branch be merged into f24 and hostapd rebuilt please ?
I verified it builds and run as expected with ACS support (using "fedpkg --release f24 mockbuild" from the f25 branch)


Version-Release number of selected component (if applicable):
hostapd-2.5-2.fc24

How reproducible:
Always

Steps to Reproduce:
1. install hostapd
2. configure it to use ACS
3. start hostapd

Actual results:
Log extract with F24 build :

systemd[1]: Starting Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator...
hostapd[1502]: Configuration file: /etc/hostapd/hostapd.conf
hostapd[1502]: ACS was disabled on your build, rebuild hostapd with CONFIG_ACS=y or set channel
hostapd[1502]: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
hostapd[1502]: wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
hostapd[1502]: wlan0: IEEE 802.11 Hardware does not support configured channel
hostapd[1502]: wlan0: IEEE 802.11 Hardware does not support configured channel
hostapd[1502]: Could not select hw_mode and channel. (-3)
hostapd[1502]: wlan0: interface state UNINITIALIZED->DISABLED
hostapd[1502]: wlan0: AP-DISABLED
hostapd[1502]: wlan0: Unable to setup interface. 
hostapd[1502]: wlan0: interface state DISABLED->DISABLED
hostapd[1502]: wlan0: AP-DISABLED
hostapd[1502]: hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd[1502]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 
systemd[1]: hostapd.service: Control process exited, code=exited status=1
systemd[1]: Failed to start Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
systemd[1]: hostapd.service: Unit entered failed state.
systemd[1]: hostapd.service: Failed with result 'exit-code'.
systemd[1]: Stopped Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.

Expected results:
Log extract with F25 branch rebuilt for F24 :

systemd[1]: Starting Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator...
hostapd[7366]: Configuration file: /etc/hostapd/hostapd.conf
hostapd[7366]: ACS: Automatic channel selection started, this may take a bit
hostapd[7366]: wlan0: interface state UNINITIALIZED->ACS
hostapd[7366]: wlan0: ACS-STARTED
systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.


Additional info:
I am confident everything is there, but I guess a "thank you in advance" won't hurt :-)

Comment 1 Fedora Update System 2017-03-24 15:47:52 UTC
hostapd-2.5-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1fc4ea1db0

Comment 2 Fedora Update System 2017-03-26 01:24:12 UTC
hostapd-2.5-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-1fc4ea1db0

Comment 3 Fedora Update System 2017-04-04 20:49:56 UTC
hostapd-2.5-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.