]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-session.c
logind: Add fallback for when the PIDFDs= property is not available
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Mar 2024 14:48:54 +0000 (15:48 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 21 Mar 2024 15:17:15 +0000 (16:17 +0100)
commit8ba3efed8669639457fc9b482d61d87e77f79b33
treea0636009d896c2289fc71c8adcea95255d8ad1d9
parentec0bc263d7d250d4029e8ffe7e3a888c12453331
logind: Add fallback for when the PIDFDs= property is not available

logind is not zero-downtime restartable yet, specifically it's not yet
restarted in the Fedora spec, so we can end up in situations where we're
running newer logind with older pid1 which doesn't know about the PIDFDs=
property, so let's make sure we have a fallback in place for when that
happens.
src/login/logind-dbus.c
src/login/logind-dbus.h
src/login/logind-session.c