#943462 [polkit-kde-agent-1] Fails to start with elogind

Package:
polkit-kde-agent-1
Source:
polkit-kde-agent-1
Description:
KDE dialogs for PolicyKit
Submitter:
Alex Volkov
Date:
2021-01-12 02:03:05 UTC
Severity:
normal
Tags:
#943462#5
Date:
2019-10-25 02:04:40 UTC
From:
To:
--- Please enter the report below this line. ---

I'm using elogind 239.3+20190131-1+debian1 and the agent fails to start
at the kde launch with the following diagnostics:

===
New PolkitAgentListener  0x5555bfaf9ca0
Adding new listener  PolkitQt1::Agent::Listener(0x7fb730017260) for  0x5555bfaf9ca0
Listener online
"Cannot create unix session: No session for pid 17113"

** (process:17113): CRITICAL **: 06:38:20.880: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!"
Authentication agent result: false
Couldn't register listener!
===

(This may or may not have connection to bug #850778 in plasma-desktop,
which seems to be the issue with polkit not recognizing a logged-in user.)

Debian Release: 10.1
  991 stable          security.debian.org
  991 stable          ftp.fi.debian.org
  990 buster-backports ftp.debian.org
   99 stable-backports www.deb-multimedia.org
   99 stable          www.deb-multimedia.org
  500 stable          dl.google.com
  500 stable          deb.torproject.org
  100 testing         ftp.fi.debian.org
--- Package information. ---
Depends                        (Version) | Installed
========================================-+-================
policykit-1                              | 0.105-26
libc6                           (>= 2.4) |
libkf5coreaddons5           (>= 4.100.0) |
libkf5crash5                 (>= 4.96.0) |
libkf5dbusaddons5            (>= 4.97.0) |
libkf5i18n5                  (>= 4.97.0) |
libkf5iconthemes5            (>= 4.96.0) |
libkf5widgetsaddons5         (>= 4.96.0) |
libkf5windowsystem5          (>= 4.96.0) |
libpolkit-qt5-1-1           (>= 0.112.0) |
libqt5core5a             (>= 5.11.0~rc1) |
libqt5dbus5                 (>= 5.11.0~) |
libqt5gui5                  (>= 5.11.0~) |
libqt5widgets5              (>= 5.11.0~) |
libstdc++6                    (>= 4.1.1) |


Package's Recommends field is empty.

Package's Suggests field is empty.

#943462#10
Date:
2020-12-22 20:43:06 UTC
From:
To:
Hi all,

Any progress on this? The bullseye freeze is approaching.

Paul

#943462#15
Date:
2020-12-22 23:14:02 UTC
From:
To:
Hi Alex,

This is for a very old version of Plasma. Could you please try the
current 5.20.4 from unstable.

We can surely not debug this for stable.

Thanks

Norbert

#943462#20
Date:
2021-01-12 02:01:28 UTC
From:
To:
severity 943462 normal
tags 943462 + moreinfo unreproducible
thanks

Hi Alex,

Since we didn't get any feedback from your side about whether this is
reproducible with current Plasma, I am adjusting severity and tagging
the bug accordingly.

Thanks for your understanding

Norbert