]> git.ipfire.org Git - thirdparty/systemd.git/commit
machine: rework machine_gc()
authorLennart Poettering <lennart@poettering.net>
Mon, 19 May 2025 11:24:14 +0000 (13:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 May 2025 08:27:37 +0000 (10:27 +0200)
commitca02f658e0800d43a3692271e4a6b2ee44e01727
tree48d8337447001a0a3eaf8359173db83cb2f5230c
parent0c38bc6227627dffc87e77f37dc72992b1ed0d5b
machine: rework machine_gc()

Let's check the leader alive state, and let's log about dbus errors.
This mimics (but is not quite identical to) what we do these days in
logind for GC'ing user sessions.
src/machine/machine.c
src/machine/machined-dbus.c
src/machine/machined.h