Bug 432512 - polkit agent keeps restarting with plasma systemd startup enabled
Summary: polkit agent keeps restarting with plasma systemd startup enabled
Status: RESOLVED DUPLICATE of bug 431963
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (show other bugs)
Version: 5.20.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jaroslav Reznik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-04 18:11 UTC by madcatx
Modified: 2021-02-06 15:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
systemd output for polkit agent (5.96 KB, text/plain)
2021-02-06 08:42 UTC, Schlaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madcatx 2021-02-04 18:11:40 UTC
I just noticed this behaviour after switching over to the experimental systemd plasmashell startup. The daemon keeps restarting itself and the following can be seen in journalctl (mind the reversed order).

úno 04 19:01:29 Sad-Silke systemd[865]: plasma-polkit-agent.service: Failed with result 'timeout'.
úno 04 19:01:29 Sad-Silke systemd[865]: plasma-polkit-agent.service: start operation timed out. Terminating.
úno 04 19:01:24 Sad-Silke polkit-kde-authentication-agent-1[2771]: Authentication agent result: true
úno 04 19:01:24 Sad-Silke polkitd[924]: Registered Authentication Agent for unix-session:1 (system bus name :1.110 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAge>
úno 04 19:01:24 Sad-Silke polkit-kde-authentication-agent-1[2771]: Listener online
úno 04 19:01:24 Sad-Silke polkit-kde-authentication-agent-1[2771]: Adding new listener  PolkitQt1::Agent::Listener(0x561fe867b7e0) for  0x561fe8650800
úno 04 19:01:24 Sad-Silke polkit-kde-authentication-agent-1[2771]: New PolkitAgentListener  0x561fe8650800
úno 04 19:01:24 Sad-Silke systemd[865]: Starting KDE PolicyKit Authentication Agent...
úno 04 19:01:24 Sad-Silke systemd[865]: Stopped KDE PolicyKit Authentication Agent.
úno 04 19:01:24 Sad-Silke systemd[865]: plasma-polkit-agent.service: Scheduled restart job, restart counter is at 37.
úno 04 19:01:23 Sad-Silke systemd[865]: Failed to start KDE PolicyKit Authentication Agent.
úno 04 19:01:23 Sad-Silke polkitd[924]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.109, object path /org/kde/PolicyKit1/AuthenticationAgent, locale cs_CZ.UTF-8) (disconnected from >
úno 04 19:01:23 Sad-Silke systemd[865]: plasma-polkit-agent.service: Failed with result 'timeout'.
úno 04 19:01:23 Sad-Silke systemd[865]: plasma-polkit-agent.service: start operation timed out. Terminating.
úno 04 19:01:18 Sad-Silke polkit-kde-authentication-agent-1[2753]: Authentication agent result: true
úno 04 19:01:18 Sad-Silke polkitd[924]: Registered Authentication Agent for unix-session:1 (system bus name :1.109 [/usr/lib/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAge>
úno 04 19:01:18 Sad-Silke polkit-kde-authentication-agent-1[2753]: Listener online
úno 04 19:01:18 Sad-Silke polkit-kde-authentication-agent-1[2753]: Adding new listener  PolkitQt1::Agent::Listener(0x55ababb7a920) for  0x55ababb4f800
úno 04 19:01:18 Sad-Silke polkit-kde-authentication-agent-1[2753]: New PolkitAgentListener  0x55ababb4f800
úno 04 19:01:18 Sad-Silke systemd[865]: Starting KDE PolicyKit Authentication Agent...
úno 04 19:01:18 Sad-Silke systemd[865]: Stopped KDE PolicyKit Authentication Agent.
úno 04 19:01:18 Sad-Silke systemd[865]: plasma-polkit-agent.service: Scheduled restart job, restart counter is at 36.
úno 04 19:01:18 Sad-Silke systemd[865]: Failed to start KDE PolicyKit Authentication Agent.
úno 04 19:01:18 Sad-Silke polkitd[924]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.108, object path /org/kde/PolicyKit1/AuthenticationAgent, locale cs_CZ.UTF-8) (disconnected from >
úno 04 19:01:18 Sad-Silke systemd[865]: plasma-polkit-agent.service: Failed with result 'timeout'.
úno 04 19:01:18 Sad-Silke systemd[865]: plasma-polkit-agent.service: start operation timed out. Terminating.

The problem went away after disabling systemd startup. I can try to gather more debugging data but I'd appreciate a few hints what to look for. I run up-to-date Arch Linux with Plasma 5.20.90 beta.
Comment 1 Schlaefer 2021-02-06 08:42:25 UTC
Created attachment 135460 [details]
systemd output for polkit agent

Happens here too when activating systemd startup.

Operating System: EndeavourOS
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.13-zen1-1-zen
Comment 2 Rex Dieter 2021-02-06 15:51:06 UTC

*** This bug has been marked as a duplicate of bug 431963 ***