]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: introduce a proper error if op is blocked by inhibitor lock 37975/head
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Jun 2025 09:33:26 +0000 (11:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Jun 2025 13:21:01 +0000 (15:21 +0200)
commit7620f70464d77d7e648a31270d50d452132e0349
tree5adf5fc4b88b2daddbbd5f0a390ae0a6b2d2b4e9
parent2cdaad5b3b255fa23b96c867a3e9e36edd64b5d8
logind: introduce a proper error if op is blocked by inhibitor lock

We map it client side to EACCES, because that's what systemctl wants for
its logic.

See: #34091
src/libsystemd/sd-bus/bus-common-errors.c
src/libsystemd/sd-bus/bus-common-errors.h
src/login/logind-dbus.c