Op Sat, 9 Dec 2023 17:53:17 +0300 Andrei Borzenkov <arvidjaar@gmail.com> schreef:
On 09.12.2023 17:40, Martin /Nightowl/ Byttebier wrote:
Hello,
After I did an update of my tumbleweed pc yesterday the pc refused to restart. I couldn't even go to console to execute the shutdown restart command. The only way was to hit the powerbuttom.
Below a part of the log which I think it's relevant.
Dec 08 16:10:44 dell dbus-daemon[1875]: [session uid=1000 pid=1875] Activating service name='org.kde.LogoutPrompt' requested by ': 1.14' (uid=1000 pid=2026 comm="/usr/bin/plasmashell --no-respawn") Dec 08 16:10:44 dell dbus-daemon[1089]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.0' (uid=0 pid=1225 comm="/usr/lib/systemd/systemd-log> Dec 08 16:10:44 dell systemd[1]: Starting Authorization Manager... Dec 08 16:10:44 dell systemd[1]: polkit.service: Main process exited, code=exited, status=1/FAILURE Dec 08 16:10:44 dell systemd[1]: polkit.service: Failed with result 'exit-code'. Dec 08 16:10:44 dell systemd[1]: Failed to start Authorization Manager. Dec 08 16:10:54 dell systemd-udevd[771]: /etc/udev/rules.d/99-megasync-udev.rules:1 The line has no effect, ignoring. Dec 08 16:11:07 dell kalendarac[2148]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell kded5[2001]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell kactivitymanagerd[2032]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell ksmserver[1999]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell kwin_x11[2002]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell xembedsniproxy[2041]: Container window visible, stack below Dec 08 16:11:07 dell kglobalaccel5[2020]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell gmenudbusmenuproxy[2036]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell systemd[1846]: Stopped target plasma-workspace-x11.target. Dec 08 16:11:07 dell xembedsniproxy[2041]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell systemd[1846]: Stopped target KDE Plasma Workspace. Dec 08 16:11:07 dell kglobalaccel5[2020]: The X11 connection broke: I/O error (code 1) Dec 08 16:11:07 dell polkit-kde-authentication-agent-1[2038]: The X11 connection broke (error 1). Did the X11 server die? Dec 08 16:11:07 dell kglobalaccel5[2020]: XIO: fatal IO error 25 (Ongepaste ioctl() voor apparaat) on X server ":0" Dec 08 16:11:07 dell kglobalaccel5[2020]: after 8 requests (8 known processed) with 0 events remaining. ... .. . Yesterday I had no time to investigate the problem.
When I fired up the pc today I noticed polkit.service refuse to start and with that some other services too.
x polkit.service - Authorization Manager Loaded: loaded (/usr/lib/systemd/system/polkit.service; static) Active: failed (Result: exit-code) since Sat 2023-12-09 13:55:08 CET; 12s ago Docs: man:polkit(8) Process: 11580 ExecStart=/usr/libexec/polkit-1/polkitd --no-debug (code=exited, status=1/FAILURE) Main PID: 11580 (code=exited, status=1/FAILURE)CPU: 25ms
Dec 09 13:55:08 dell systemd[1]: Starting Authorization Manager... Dec 09 13:55:08 dell systemd[1]: polkit.service: Main process exited, code=exited, status=1/FAILURE Dec 09 13:55:08 dell systemd[1]: polkit.service: Failed with result 'exit-code'. Dec 09 13:55:08 dell systemd[1]: Failed to start Authorization Manager.
The pc seems to work more of the less normal. Only the log is filled with warnings about polkit and powerdevil
Dec 09 14:55:58 dell systemd[1]: Starting Authorization Manager... Dec 09 14:55:58 dell systemd[1]: polkit.service: Main process exited, code=exited, status=1/FAILURE Dec 09 14:55:58 dell systemd[1]: polkit.service: Failed with result 'exit-code'. Dec 09 14:55:58 dell systemd[1]: Failed to start Authorization Manager. Dec 09 14:56:00 dell systemd[1735]: plasma-powerdevil.service: start operation timed out. Terminating. Dec 09 14:56:00 dell systemd[1735]: plasma-powerdevil.service: Failed with result 'timeout'.
My system Operating System: openSUSE Tumbleweed 20231207 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.3-1-default (64-bit) Graphics Platform: X11 Processors: 16 × 11th Gen Intel® Core™ i7-11700 @ 2.50GHz Memory: 15.3 GiB of RAM Graphics Processor: NV174
How can I fix this?
To fix something you need to find the reason for the failure. Run polkitd manually without --no-debug option, may be it will provide more information in logs.
Dec 09 16:38:05 dell polkitd[8005]: Started polkitd version 123 Dec 09 16:38:05 dell polkitd[8005]: Loading rules from directory /etc/polkit-1/rules.d Dec 09 16:38:05 dell polkitd[8005]: Error opening rules directory: Error opening directory “/etc/polkit-1/rules.d”: Permission denied (g-file-error-quark, 2) Dec 09 16:38:05 dell polkitd[8005]: Loading rules from directory /usr/share/polkit-1/rules.d Dec 09 16:38:05 dell polkitd[8005]: Finished loading, compiling and executing 3 rules Dec 09 16:38:05 dell polkitd[8005]: Acquired the name org.freedesktop.PolicyKit1 on the system bus Dec 09 16:38:08 dell systemd-udevd[758]: /etc/udev/rules.d/99-megasync-udev.rules:1 The line has no effect, ignoring. Dec 09 16:38:11 dell systemd-udevd[758]: /etc/udev/rules.d/99-megasync-udev.rules:1 The line has no effect, ignoring. Dec 09 16:38:12 dell plasmashell[1938]: kf.service.services: The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field. Dec 09 16:38:14 dell plasma_waitforname[7959]: org.kde.knotifications: WaitForName: Service was not registered within timeout martin@dell:/etc/polkit-1> ll totaal 8 drwxr-xr-x 2 root root 4096 5 dec 18:15 actions drwxr-x--- 2 root polkitd 4096 5 dec 18:15 rules.d Hm, permission question? Martin -- Atari FTP-site: ftp://kurobox.serveftp.net:3021 Running openSUSE Leap 15.5 / KDE 5.27.9