Bug 55210 - Ignore closing sessions
Summary: Ignore closing sessions
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 03:31 UTC by Matthias Clasen
Modified: 2012-09-24 13:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (2.09 KB, text/plain)
2012-09-22 03:31 UTC, Matthias Clasen
Details

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.