]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: emit PropertiesChanged when lingering is enabled/disabled
authorJelle van der Waa <jelle@vdwaa.nl>
Wed, 8 Oct 2025 10:29:04 +0000 (12:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Oct 2025 07:39:45 +0000 (09:39 +0200)
commitc6ebb98e3c5702b60449b85b333ff3a8982ad412
treed2f515cd08bc1a41fbf62427fa7418a1c47743b4
parent03936a55a18ce55a2b8d63bc47870b4fac879ad6
logind: emit PropertiesChanged when lingering is enabled/disabled

Cockpit's podman plugin needs to know the lingering status so the UI can
advertise enabling `podman-restart` (which depends on lingering to
work). Currently it relies on watching `/var/lib/systemd/linger/${user}`
but that isn't a public API.

Related: #22244
man/org.freedesktop.login1.xml
src/login/logind-dbus.c
src/login/logind-user-dbus.c
test/units/TEST-35-LOGIN.sh