diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-29 11:36:18 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-11-16 15:34:41 +0100 |
commit | a832ab6f9953d070ee8f5cf2c7869425760b2645 (patch) | |
tree | 32ac31723b32cbf713a8430b3140ce9ea0942f8b /src/login/sysfs-show.h | |
parent | 090d92bd6f66afd7c6bf18ef07315058ce826f01 (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/sysfs-show.h')
0 files changed, 0 insertions, 0 deletions