diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-09-29 11:36:18 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:58:55 +0200 |
commit | 2c0a91fedc150195f54d91bf75515e4bfff0d753 (patch) | |
tree | 18c8451147a981b8ab239dbff40798145b6fbe60 /LICENSE.LGPL2.1 | |
parent | 5814139990daf10155b4fb0951ee456ac9c97a4b (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 "elogind --user"
instance.
Fix this by properly allowing user_start() to be called, even if
user->stopping is true.
Diffstat (limited to 'LICENSE.LGPL2.1')
0 files changed, 0 insertions, 0 deletions