Bug 55210

Summary: Ignore closing sessions
Product: accountsservice Reporter: Matthias Clasen <mclasen>
Component: generalAssignee: Matthias Clasen <mclasen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: rstrode
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Matthias Clasen 2012-09-22 03:31:33 UTC
Created attachment 67529 [details]
patch

The function act_user_is_logged_in() determines the logged-in-ness
of a user by looking at all the session for that user. Recently,
systemd introduced a session state 'closing' for session which are
'nominally logged out, but not quite gone yet'. These sessions
should be ignored for the purpose of determining logged-in-ness.
If we don't, then logging out of a GNOME session shows the user
as still logged in on the login screen, and refuses to let him
choose another session.
Comment 1 Ray Strode [halfline] 2012-09-24 13:57:59 UTC
Thanks

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.