From: Luca Boccassi Date: Sat, 2 Nov 2024 11:27:28 +0000 (+0000) Subject: logind: respect SD_LOGIND_ROOT_CHECK_INHIBITORS with weak blockers (#34969) X-Git-Tag: v257-rc1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1669691374f29e905e5342885774de06429fe9c;p=thirdparty%2Fsystemd.git logind: respect SD_LOGIND_ROOT_CHECK_INHIBITORS with weak blockers (#34969) 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 --- c1669691374f29e905e5342885774de06429fe9c