summaryrefslogtreecommitdiff
path: root/factory
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-29 11:36:18 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:58:55 +0200
commit2c0a91fedc150195f54d91bf75515e4bfff0d753 (patch)
tree18c8451147a981b8ab239dbff40798145b6fbe60 /factory
parent5814139990daf10155b4fb0951ee456ac9c97a4b (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 'factory')
0 files changed, 0 insertions, 0 deletions