Bug 1258086 - Latest version does not write any logs
Summary: Latest version does not write any logs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: wpa_supplicant
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 23:18 UTC by Patrick Uiterwijk
Modified: 2015-11-03 09:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-03 09:12:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Patrick Uiterwijk 2015-08-28 23:18:34 UTC
Description of problem:
After upgrading my wpa_supplicant on 2015-08-24 from 1:2.4-4.fc22.x86_64 to 1:2.4-3.fc22.x86_64, the log file has been empty.
[root@bofh log]# tail wpa_supplicant.log-20150825 
...
EAP-MSCHAPV2: Authentication succeeded
EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
enp0s25: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully

[root@bofh log]# tail wpa_supplicant.log
[root@bofh log]# 


Version-Release number of selected component (if applicable):
wpa_supplicant-1:2.4-3.fc22.x86_64

How reproducible:
Unknown

Steps to Reproduce:
1. Upgrade to the latest wpa_supplicant
2. Tail /var/log/wpa_supplicant.log

Actual results:
Empty file.

Expected results:
Standard wpa supplicant logs, as has been the case before.

Additional info:
Also the logs it reports to journald are empty:
[root@bofh log]# systemctl status wpa_supplicant.service 
● wpa_supplicant.service - WPA Supplicant daemon
   Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: disabled)
   Active: active (running) since 火 2015-08-25 01:05:57 CEST; 4 days ago
 Main PID: 2179 (wpa_supplicant)
   CGroup: /system.slice/wpa_supplicant.service
           └─2179 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid

 8月 25 01:05:57 bofh.thuis.puiterwijk.org systemd[1]: Starting WPA Supplicant daemon...
 8月 25 01:05:57 bofh.thuis.puiterwijk.org systemd[1]: Started WPA Supplicant daemon.
[root@bofh log]# 


I am thinking wpa_supplicant may be the cause of networking issues on my wired connection (where I use 802.1X), but since there are no logs written I cannot verify this.

Comment 1 Patrick Uiterwijk 2015-08-29 00:10:36 UTC
So, it turns out that just the default verbosity has changed, as after creating a /etc/systemd/system/wpa_supplicant.service with -dd argument, I get logging again.

Perhaps it would be an idea to set it to -d in the packages unit file, so that at least the old amount of logs are still retained?

Comment 2 Fedora Admin XMLRPC Client 2015-10-14 14:50:06 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Lubomir Rintel 2015-11-03 09:12:27 UTC
wpa_supplicant now (that is Rawhide, Fedora 24) uses syslog protocol for logging so the relevant logs should now land in journal.


Note You need to log in before you can comment on or make changes to this bug.