]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-bus: Make sure we can connect to user machines as well
authorDaan De Meyer <daan@amutable.com>
Mon, 16 Feb 2026 10:27:21 +0000 (11:27 +0100)
committerDaan De Meyer <daan@amutable.com>
Tue, 17 Feb 2026 16:52:20 +0000 (17:52 +0100)
commita12c5bf4f5a01eb7cc62cf987e5f4451c07b4fd0
treee5275d995f0c9a0e3cd446f16c762fdb3aec7f59
parent8d1183539711f653ffe569cdbc15efddb515f8c4
sd-bus: Make sure we can connect to user machines as well

Don't unconditionally look into /run/systemd/machines. If we're a
connected to a session bus, look at the machines for the current user
instead.
src/basic/process-util.c
src/basic/process-util.h
src/libsystemd/sd-bus/bus-container.c
src/libsystemd/sd-bus/bus-container.h
src/libsystemd/sd-id128/id128-util.c