[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#795296: "You are not allowed to save the configuration" (both root and ordinary user)



Control: tag -1 + help

¡Hola Willi!

El 2017-03-31 a las 21:25 +0200, Willi Mann escribió:
Am 2017-03-31 um 18:25 schrieb Maximiliano Curia:

Do you have another session started as root? Do you have another X session started with your user?

There is no other session running as root, except for an SSH session. And I have no keyboard or mouse attached to this machine, I'm using synergy instead.

I've seen synergy do some weird things, but somehow I don't think we can blame synergy here.

I used the gnome one. pkexec bash then works. However, the problem with configuring sddm persists - it still says I'm not allowed to save the configuration.

We have two different issues here, or something causing two effects, one is that the kde agent is not showing any dialogs to you, btw, you didn't mention if pkexec bash showed a gnome polkit agent dialog asking you for your password (or the one from root).

The second issue is the sddm kcm not wanting to save the configuration even when it's authorized to do so.

This is weird, and I'm not sure what could be causing this.

Apart from that, I made another strange observation:

If I recompile policykit-1=0.105-17 (directly on the system, without clean chroot) and install it and the KDE policykit agent is running, pkexec bash does ask for a password on the command line:

% pkexec bash ==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/bin/bash' as the super user Authenticating as: root Password:
polkit-agent-helper-1: error response to PolicyKit daemon:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie ==== AUTHENTICATION FAILED === Error executing command as another user: Not authorized

This incident has been reported.

The password was correct, but it fails on some other issue. The dependencies of the two package versions are the same. ldd also reports no differences on the polkitd and pkexec binaries' dependencies.

This is sort of expected, the agent needs to register to running polkit, if you restart policykit, you need to restart the agent. About the tty agent not taking your password, I see the same behavior here, that's a bug in policykit, but I don't think it to be related.

Happy hacking,
--
"The cheapest, fastest and most reliable components of a computer system are
those that aren't there."
-- Gordon Bell
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: