Bug 1254486

Summary: Do not quote value for 'scan_freq' and 'freq_list'
Product: Red Hat Enterprise Linux 6 Reporter: Jirka Klimes <jklimes>
Component: wpa_supplicantAssignee: Rashid Khan <rkhan>
Status: CLOSED ERRATA QA Contact: Ken Benoit <kbenoit>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8CC: dcbw, rkhan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: wpa_supplicant-0.7.3-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 19:31:25 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:
Bug Depends On:    
Bug Blocks: 1275424    

Description Jirka Klimes 2015-08-18 08:49:55 UTC
wpa_supplicant in RHEL 6 adds quotes around the value of 'scan_freq' and 'freq_list'. That causes incorrect parsing of the options in wpa_config_parse_freqs().

The quotes should not be added. It has been fixed for new D-Bus interface by this upstream commit:
http://w1.fi/cgit/hostap/commit/wpa_supplicant/dbus/dbus_new_handlers.c?id=99276998fa26d4299825eeafb6386fe1c51f6287

Comment 6 Ken Benoit 2016-02-29 17:57:13 UTC
Installed RHEL-6.8-20160229.n.0 (with wpa_supplicant-0.7.3-8.el6) on a test system, ran dbus-monitor, and configured wpa_supplicant to connect to an unencrypted network with scan_freq=2412 and freq_list=2412 in the network block within wpa_supplicant.conf. Started the wpa_supplicant service and checked dbus-monitor to see what signals wpa_supplicant was sending. I was unable to find the scan_freq or freq_list values in any of the signal messages. I noticed that the dbus interface for wpa_supplicant on RHEL-6.8 is /fi/epitest/hostap/WPASupplicant, which is the old interface. The old interface is apparently not very verbose in its output. This is versus testing I did in RHEL-7.2 where wpa_supplicant uses the new /fi/w1/wpa_supplicant1 interface which does include the scan_freq and freq_list values in the dbus signal messages. Apart from recompiling wpa_supplicant from source to use the new dbus interface there is nothing to test in the RHEL-6.8 build of this package. I have downloaded the source rpm for wpa_supplicant and verified that the rh1254486-dont-qoute-scan_freq-and-freq_list.patch file is present and correct and performing an rpmbuild --rebuild on wpa_supplicant-0.7.3-8.el6.src.rpm shows that the patch does get patched in correctly. Verifying as SanityOnly.

Comment 8 errata-xmlrpc 2016-05-10 19:31:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0742.html