]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: respect SD_LOGIND_ROOT_CHECK_INHIBITORS with weak blockers (#34969)
authorLuca Boccassi <bluca@debian.org>
Sat, 2 Nov 2024 11:27:28 +0000 (11:27 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Nov 2024 11:27:28 +0000 (11:27 +0000)
The check for the old flag was not restored when the weak blocker was
added, add it back. Also skip polkit check for root for the weak
blocker, to keep compatibility with the previous behaviour.

Partially fixes https://github.com/systemd/systemd/issues/34091

Follow-up for 804874d26ac73e0af07c4c5d7165c95372f03f6d


Trivial merge