summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-29 11:36:18 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-11-16 15:34:41 +0100
commita832ab6f9953d070ee8f5cf2c7869425760b2645 (patch)
tree32ac31723b32cbf713a8430b3140ce9ea0942f8b /src/login/logind-dbus.c
parent090d92bd6f66afd7c6bf18ef07315058ce826f01 (diff)
login: fix re-use of users
If the last reference to a user is released, we queue stop-jobs for the user-service and slice. Only once those are finished, we drop the user-object. However, if a new session is opened before the user object is fully dropped, we currently incorrectly re-use the object. This has the effect, that we get stale sessions without a valid "systemd --user" instance. Fix this by properly allowing user_start() to be called, even if user->stopping is true.
Diffstat (limited to 'src/login/logind-dbus.c')
0 files changed, 0 insertions, 0 deletions