]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: fix serialization/deserialization of user's "display session"
authorLennart Poettering <lennart@poettering.net>
Fri, 3 Aug 2018 17:04:35 +0000 (19:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 13 Oct 2018 10:59:29 +0000 (12:59 +0200)
commit1c8280fd47b6561d35b15b3b6d49bdeacf891bfd
treec06196f9e6054f47502b4249fac64004fe81f2c4
parent8c29a4570993105fecc12288596d2ee77c7f82b8
logind: fix serialization/deserialization of user's "display session"

Previously this was serialized as part of the user object. This didn't
work however, as we load users first, and sessions seconds and hence
referencing a session from the user load logic cannot work.

Fix this by storing an IS_DISPLAY property along with each session, and
make the session with this set display session when it is loaded.
src/login/logind-session.c
src/login/logind-user.c