As reported by [1] [2], the return code of systemctl command between
systemd 253 and 254 has changed when the polkit authentication is
refused:
/bin/systemctl restart systemd-timesyncd.service
The return code changed from 1 to 4. The Polkit test case
"TestPolkitSystemd" expected 1 as return code [3].
The service log is not the same either:
systemd v253:
Failed to restart systemd-timesyncd.service: Interactive authentication required.
systemd v254:
Failed to restart systemd-timesyncd.service: Access denied
git bisect report this commit:
|
||
---|---|---|
.. | ||
boot | ||
core | ||
download | ||
fs | ||
init | ||
package | ||
toolchain | ||
utils | ||
__init__.py |