Subject says it all. Both services won’t start after a reboot. This may also leads to a very
slow boot process. What to do?
Uwe
Subject says it all. Both services won’t start after a reboot. This may also leads to a very
slow boot process. What to do?
Uwe
Sorry it’s the polkit service…
Uwe
What’s the result of
systemctl status polkit
What’s in the journal?
journalctl -b 0 | grep polkit
first question:
Mar 04 17:05:44 p200300e51726b3df1ac04dfffeea395f.dip0.t-ipconnect.de systemd[1]: Starting Authorization Manager…
Mar 04 17:05:44 p200300e51726b3df1ac04dfffeea395f.dip0.t-ipconnect.de systemd[1]: polkit.service: Main process exited, code=exited, status=1/FAILURE
Mar 04 17:05:44 p200300e51726b3df1ac04dfffeea395f.dip0.t-ipconnect.de systemd[1]: polkit.service: Failed with result ‘exit-code’.
Mar 04 17:05:44 p200300e51726b3df1ac04dfffeea395f.dip0.t-ipconnect.de systemd[1]: Failed to start Authorization Manager.
second one:
the polkit sevice was requested and then:
polkit.service: Main process exited, code=exited, status=1/FAILURE
Und dies ziemlich lange…
Uwe
Fixed title (change “Pilkit” to “Polkit”).
Hmmm, … that is really strange. On my system it looks like this:
> systemctl status polkit
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Sat 2023-03-04 15:04:54 CET; 2h 31min ago
Docs: man:polkit(8)
Main PID: 881 (polkitd)
Tasks: 3
CPU: 411ms
CGroup: /system.slice/polkit.service
└─881 /usr/libexec/polkit-1/polkitd --no-debug
Mär 04 15:04:53 SYSTEM01 systemd[1]: Starting Authorization Manager...
Mär 04 15:04:53 SYSTEM01 polkitd[881]: Started polkitd version 121
Mär 04 15:04:53 SYSTEM01 polkitd[881]: Loading rules from directory /etc/polkit-1/rules.d
Mär 04 15:04:53 SYSTEM01 polkitd[881]: Loading rules from directory /usr/share/polkit-1/rules.d
Mär 04 15:04:53 SYSTEM01 polkitd[881]: Finished loading, compiling and executing 3 rules
Mär 04 15:04:53 SYSTEM01 polkitd[881]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Mär 04 15:04:54 SYSTEM01 systemd[1]: Started Authorization Manager.
Mär 04 15:05:09 SYSTEM01 polkitd[881]: Registered Authentication Agent for unix-session:3 (system bus name :1.41 [/usr/libexec/polkit-kde-authentication-agent-1], object path /org/kde/Pol>
>
When showing results of a command execution please always include the command line and show the complete output including the next empty command prompt (just as I did above). In case this information does not fit in your forums post load them up to paste.opensuse.org and show the link in your post.
Please check if, the following packages are installed correctly on your system:
> zypper search --installed-only polkit
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Summary | Type
---+-------------------------+------------------------------------------------+------
i+ | gconf-polkit | GNOME Konfigurations-Datenbanksystem | Paket
i | libpolkit-qt5-1-1 | PolicyKit Library Qt Bindings | Paket
i+ | libpolkit0 | PolicyKit Authorization Framework -- Libraries | Paket
i+ | polkit | PolicyKit Authorization Framework | Paket
i+ | polkit-default-privs | SUSE PolicyKit default permissions | Paket
i | polkit-gnome | PolicyKit integration for the GNOME desktop | Paket
i | polkit-gnome-lang | Translations for package polkit-gnome | Paket
i | polkit-kde-agent-5 | PolicyKit-Legitimationsdienst für KDE | Paket
i | polkit-kde-agent-5-lang | Translations for package polkit-kde-agent-5 | Paket
>
> zypper search --installed-only audit
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Summary | Type
---+--------------------+---------------------------------------------------------+------
i+ | audit | User Space Tools for Kernel Auditing | Paket
i+ | libaudit1 | Library for interfacing with the kernel audit subsystem | Paket
i | libaudit1-32bit | Library for interfacing with the kernel audit subsystem | Paket
i | system-group-audit | System group 'audit' | Paket
>
In addition, you should also execute “zypper verify” and “rpm --verify --all” .