polkit 123-1 Failed with result 'timeout'.
Current behaviour, description of the problem
After the upgrade from version 122-1 to 123-1, polkit.service is failing while starting, and the reason is: Failed with result 'timeout'.
Desired behaviour
It should start normally
Reproducer
sudo systemctl start polkit
It also happens just after reboot
Detailed description
I am running Manjaro Linux with the latest upgrades. I just upgraded polkit from version 122-1 to 123-1. Version 122-1 was running perfectly well. After the upgrade polkit fails to initialize, and many collateral effects start to appear, due to polkit not working. Doing the downgrade back to version 122-1 normalizes everything, but if I try to upgrade again, the same timeout problem reappears. Running version 122-1, I get:
systemctl status polkit
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Tue 2023-08-15 19:56:05 -03; 1 day 16h ago
Docs: man:polkit(8)
Main PID: 749 (polkitd)
Tasks: 4 (limit: 19144)
Memory: 8.1M
CPU: 1min 23.794s
CGroup: /system.slice/polkit.service
└─749 /usr/lib/polkit-1/polkitd --no-debug
ago 15 19:56:05 almada polkitd[749]: Started polkitd version 122
ago 15 19:56:05 almada systemd[1]: Started Authorization Manager.
ago 15 19:56:05 almada polkitd[749]: Loading rules from directory /etc/polkit-1/rules.d
ago 15 19:56:05 almada polkitd[749]: Loading rules from directory /usr/share/polkit-1/rules.d
ago 15 19:56:05 almada polkitd[749]: Finished loading, compiling and executing 10 rules
ago 15 19:56:05 almada polkitd[749]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
ago 15 19:56:53 almada polkitd[749]: Registered Authentication Agent for unix-session:2 (system bus name :1.42 [/usr/lib/polkit-kde-authentication-agent-1], object path>
ago 17 11:33:34 almada polkitd[749]: Operator of unix-session:2 successfully authenticated as unix-user:admin to gain TEMPORARY authorization for action org.manjaro.p>
ago 17 11:56:41 almada polkitd[749]: Registered Authentication Agent for unix-process:552004:14404237 (system bus name :1.239974 [pkttyagent], object path /org/freedesk>
ago 17 11:57:01 almada polkitd[749]: Operator of unix-process:552004:14404237 successfully authenticated as unix-user:admin to gain TEMPORARY authorization for action>
lines 1-21/21 (END)
After I upgrade to version 123-1, I get:
systemctl status polkit.service
× polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: failed (Result: timeout) since Thu 2023-08-17 13:43:12 -03; 59s ago
Duration: 1d 17h 44min 57.038s
Docs: man:polkit(8)
Process: 593376 ExecStart=/usr/lib/polkit-1/polkitd --no-debug (code=killed, signal=TERM)
Main PID: 593376 (code=killed, signal=TERM)
CPU: 2ms
ago 17 13:41:03 almada systemd[1]: Starting Authorization Manager...
ago 17 13:42:33 almada systemd[1]: polkit.service: start operation timed out. Terminating.
ago 17 13:43:12 almada systemd[1]: polkit.service: Failed with result 'timeout'.
ago 17 13:43:12 almada systemd[1]: Failed to start Authorization Manager.
I then downgraded back to 122-1, using:
sudo pacman -U file://var/cache/pacman/pkg/polkit-122-1-x86_64.pkg.tar.zst
After the downgrade, things are back to normal, so the problem seems to be really with version 123-1. Is there any test I can do to help fixing the problem ?