Bug 1207205

Summary: Login History is empty
Product: [Fedora] Fedora Reporter: Sylvain Pasche <sylvain.pasche>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: control-center-maint, fmuellner, mkasik, ofourdan, oholy, rstrode, tiagomatos
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 13:17:32 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 Sylvain Pasche 2015-03-30 12:27:38 UTC
Description of problem:

On Fedora 22 with Gnome, if you open All Settings > Users > History, the "Login History" popup contains no entries.

Additional info:

$ du -h /var/log/wtmp 
4.0K	/var/log/wtmp

$ last|wc -l
6

$ rpm -q accountsservice
accountsservice-0.6.40-1.fc22.x86_64

$ rpm -q control-center
control-center-3.16.0-1.fc22.x86_64

$ journalctl -u accounts-daemon.service 
-- Logs begin at Mon 2015-03-30 13:11:21 CEST, end at Mon 2015-03-30 14:24:12 CEST. --
Mar 30 14:50:10 localhost.localdomain systemd[1]: Starting Accounts Service...
Mar 30 13:10:13 localhost.localdomain accounts-daemon[647]: started daemon version 0.6.40
Mar 30 13:10:13 localhost.localdomain systemd[1]: Started Accounts Service.

Comment 1 Ondrej Holy 2015-03-31 09:30:57 UTC
Hey, thanks for the bug report.

"Session Started" is detected by the wtmp entry from gdm with $DISPLAY string, but it seems this entry is missing, probably thanks to the port to the wayland...

Comment 2 Ondrej Holy 2015-04-01 12:00:52 UTC
I still see the code to write such messages in gdm, just it was moved to the different file, thus I pretend this is bug in gdm.

I used to see something like that for one session:
oholy    pts/0        :0               Sun Mar 22 22:39 - 22:50  (00:10)
oholy    :0           :0               Sun Mar 22 22:38 - 22:50  (00:11)
reboot   system boot  3.18.8-201.fc21. Sun Mar 22 22:37 - 22:50  (00:12)

But now I see:
oholy    pts/0        :1               Tue Mar 31 09:56 - 10:51  (00:54)
reboot   system boot  4.0.0-0.rc5.git2 Tue Mar 31 09:53 - 10:51  (00:58)

There is missing following line to determine "Session Started":
oholy    :1           :1               Tue Mar 31 09:56 - 10:51  (00:54)

Comment 3 Fedora End Of Life 2016-07-19 13:17:32 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.