← Back to team overview

apport-hackers team mailing list archive

[Merge] lp:~mathieu-tl/apport/wifi_syslog_wpasupplicant into lp:apport

 

Mathieu Trudel-Lapierre has proposed merging lp:~mathieu-tl/apport/wifi_syslog_wpasupplicant into lp:apport.

Requested reviews:
  Apport upstream developers (apport-hackers)

For more details, see:
https://code.launchpad.net/~mathieu-tl/apport/wifi_syslog_wpasupplicant/+merge/66427

Just add wpa_supplicant to what we should catch from syslog and include in WifiSyslog.txt for new bug reports.

This will impact bugs reported at least through the NetworkManager hooks as well as bugs reported against 'linux'.
-- 
https://code.launchpad.net/~mathieu-tl/apport/wifi_syslog_wpasupplicant/+merge/66427
Your team Apport upstream developers is requested to review the proposed merge of lp:~mathieu-tl/apport/wifi_syslog_wpasupplicant into lp:apport.
=== modified file 'apport/hookutils.py'
--- apport/hookutils.py	2011-06-20 07:46:33 +0000
+++ apport/hookutils.py	2011-06-30 10:08:27 +0000
@@ -479,7 +479,7 @@
 def attach_wifi(report):
     '''Attach wireless (WiFi) network information to report.'''
 
-    report['WifiSyslog'] = recent_syslog(re.compile(r'(NetworkManager|modem-manager|dhclient|kernel)(\[\d+\])?:'))
+    report['WifiSyslog'] = recent_syslog(re.compile(r'(NetworkManager|modem-manager|dhclient|kernel|wpa_supplicant)(\[\d+\])?:'))
     report['IwConfig'] = re.sub('Encryption key:(.*)', 'Encryption key: <hidden>', command_output(['iwconfig']))
     report['RfKill'] = command_output(['rfkill', 'list'])
     report['CRDA'] = command_output(['iw', 'reg', 'get'])