FS#40861 - [polkit-kde] KDE authentication agent doen't work

Attached to Project: Arch Linux
Opened by Alexander (heaven) - Monday, 16 June 2014, 14:50 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 17 November 2015, 10:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Can't perform any administrative action in systemsettings that requires root privileges, e.g. adjust system time settings, kdm theme, also using ufw and kcm-ufw (from aur), which also stopped working.

Additional info:
The system is up to date. Bug appeared some time ago, probably after one of the most recent KDE upgrades.

Steps to reproduce:
* open systemsettings as a regular user
* try to adjust kdm settings
* previously there was a popup that asked for your password, but now nothing happens
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 17 November 2015, 10:16 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Monday, 16 June 2014, 16:23 GMT
Is the authentication agent running?
Comment by Alexander (heaven) - Monday, 16 June 2014, 16:34 GMT
These packages are installed:

↓ [extra/polkit 0.112-2 [установлен]]
Application development toolkit for controlling system-wide privileges

↓ [extra/polkit-kde 0.99.0-3 [установлен]]
Daemon providing a polkit authentication UI for KDE

↓ [extra/polkit-qt 0.103.0-2 [установлен]]
A library that allows developers to access PolicyKit API with a nice
Qt-style API

And found the next processes:
$ ps aux | grep polkit
polkitd 442 0.0 0.1 512200 14864 ? Ssl 08:58 0:00 /usr/lib/polkit-1/polkitd --no-debug
heaven 3033 0.0 0.1 380196 20680 ? Sl 09:00 0:00 /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
Comment by Doug Newgard (Scimmia) - Monday, 16 June 2014, 16:38 GMT
so no, the authentication agent is not running. I haven't used KDE in a long time, but check the autostart settings, make sure it's set to start the daemon.

Edit, sorry, yes, it is running, I didn't look at the paths, just at the IDs. Not sure why it's calling itself "heaven".
Comment by Alexander (heaven) - Monday, 16 June 2014, 19:43 GMT
Ohh, that's my username, so it is launched by my user.

And I did not actually change anything, simply logged out from KDE, logged in to the first tty and launched pacman -Syu, then rebooted. Not 100% sure this was broken after the most recent upgrade though.
Comment by Alexander (heaven) - Monday, 16 June 2014, 21:07 GMT
Just plugged a new HDD, automount also doesn't work. The next error message in Dolphin:
"An unspecified error has occurred: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
Comment by lukpod (lukpod) - Saturday, 26 July 2014, 18:51 GMT
Check if you have the polkitd user and group:

$ getent passwd polkitd
$ getent group polkitd

If it’s missing, reinstalling polkit will fix it:

$ pacman -S polkit

See polkit’s .install script [1] for reference.

[1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/polkit.install?h=packages/polkit
Comment by Alexander (heaven) - Saturday, 26 July 2014, 19:01 GMT
Hi, it seems everything is in place:
$ getent passwd polkitd
polkitd:x:102:102:Policy Kit Daemon:/:/bin/false
$ getent group polkitd
polkitd:x:102:

Still when trying to adjust KDM settings it says: "You are not allowed to save the configuration"
Comment by Jan de Groot (JGC) - Tuesday, 02 June 2015, 06:07 GMT
  • Field changed: Status (Assigned → Waiting on Response)
Is this still an issue? There has been a dbus timeout issue in the past, maybe related?

Loading...