chiark / gitweb /
Prep v234: Re-add user/session to the gc_queue when stopping.
authorSven Eden <yamakuzure@gmx.net>
Wed, 26 Jul 2017 08:26:15 +0000 (10:26 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Jul 2017 08:26:15 +0000 (10:26 +0200)
commitf3f6ae7c983865ea37e8ddfbd676586e55280f1e
tree7ae78f62d75d628aa00d800b8ded87fb2e1ab708
parent7e17c59e6b33219e1d478a74852a64d4c726d76b
Prep v234: Re-add user/session to the gc_queue when stopping.

If manager_gc() does not find the user/session, their respective
finalize_*() method is never called, leaving stale state files in
/run/systemd/sessions and run/systemd/users.
src/login/logind-session.c
src/login/logind-user.c