]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: log peer ID when shutdown is called 41229/head
authorMichael Vogt <michael@amutable.com>
Tue, 24 Mar 2026 14:40:40 +0000 (15:40 +0100)
committerMichael Vogt <michael@amutable.com>
Tue, 7 Apr 2026 19:01:21 +0000 (21:01 +0200)
commit768b507adc08b47e0dfebb30e6dd0cb30c9a517d
tree17414038d13e1b532cc39601b3aa14cd35afff71
parentdb426d147d0ea8082bd8c69628aba63d3ddd635e
logind: log peer ID when shutdown is called

The io.systemd.Manager.{PowerOff,SoftReboot,Halt,Kexec} manager
varlink and bus methods log the peer ID when calling shutdown.

The logind code is missing this, so this commit adds a similar
logging now. The code is quite similar to the one in existing in
src/core/manager.c but its hard to share code so this adds a bit
of duplication.
src/login/logind-dbus.c
src/login/logind-shutdown.c
src/login/logind-shutdown.h
src/login/logind-varlink.c