Let me work on my own problem solving steps with this. I am using a test machine in VirtualBox that was installed as 4.3 and upgraded to 5.0.
-
Check that system is up to date:
$ sudo dnf clean all ; sudo dnf dsync
-
Remove any left over unused packages that had been originally installed as dependencies:
$ sudo dnf autoremove
-
Check the package versions for the polkit package stack:
$ rpm -qa | grep polkit
lib64polkit-gobject1_0-123-1.znver1
lib64polkit-agent1_0-123-1.znver1
lib64polkit-qt5-core-1_1-0.114.0-1.znver1
lib64polkit-qt5-agent-1_1-0.114.0-1.znver1
lib64polkit-qt6-core-1_1-0.114.1-0.20230513.1.znver1
systemd-polkit-254.5-1.znver1
polkit-123-1.znver1
polkit-kde-agent-1-5.27.9-1.znver1
The packages shown are what I have on my test system which is not showing a problem with polkit.service.
-
polkit is a systemd service so we can check it’s status with
systemctl
command:$ systemctl status polkit
-
I would then try to stop and restart polkit service and see if I get lucky and that corrects the issue or produces any output related the issue.
-
If there is still an issue at this point I am over my head knowledge wise and I go to OpenMandriva chat and ask for help there.
Note: This is what systemctl status polkit
shows on my test system:
$ systemctl status polkit
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Sun 2023-12-03 09:46:03 -05; 1min 51s ago
Docs: man:polkit(8)
Main PID: 803 (polkitd)
Tasks: 4 (limit: 4595)
Memory: 8.5M
CPU: 145ms
CGroup: /system.slice/polkit.service
└─803 /usr/lib/polkit-1/polkitd --no-debug
Dec 03 09:46:03 43t050-x86 systemd[1]: Starting polkit.service - Authorization Manager...
Dec 03 09:46:03 43t050-x86 polkitd[803]: Started polkitd version 123
Dec 03 09:46:03 43t050-x86 polkitd[803]: Loading rules from directory /etc/polkit-1/rules.d
Dec 03 09:46:03 43t050-x86 polkitd[803]: Loading rules from directory /usr/share/polkit-1/rules.d
Dec 03 09:46:03 43t050-x86 polkitd[803]: Finished loading, compiling and executing 6 rules
Dec 03 09:46:03 43t050-x86 systemd[1]: Started polkit.service - Authorization Manager.
Dec 03 09:46:03 43t050-x86 polkitd[803]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dec 03 09:46:07 43t050-x86 polkitd[803]: Registered Authentication Agent for unix-session:c1 (system bus name :1.35 [/usr/lib64/libexec/polkit-kde-authentication-agent-1], object path /org>
To stop and start polkit or any systemd service:
systemctl stop polkit
systemctl start polkit
Or you can use restart
:
systemctl restart polkit
In either case after doing that I check that everything looks OK with systemctl status polkit
.
In your journal output there is also something that may or may not be related:
Dez 03 12:58:27 VM-OpenMandriva systemd-coredump[1437]: Process 1431 (udisksd) of user 0 dumped core.
That is a question for the folks at OpenMandriva Chat. They would want to see that pastebin.
Edit to correct copy and paste error: The correct command to check versions of the polkit package stack is rpm -qa | grep polkit
. Apologies for not noticing this when I posted.