Bug 680807

Summary: Polkit 0.100 doesn't register its own authentication agent to the dbus
Product: [Fedora] Fedora Reporter: Massimo Gengarelli <gengarel>
Component: polkit-gnomeAssignee: David Zeuthen <davidz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: davidz, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-01 11:30:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Massimo Gengarelli 2011-02-27 21:32:42 UTC
Description of problem:
Whenever you want to gain root privileges using polkit, you are forced to enter the password using the terminal, thus breaking a lot of graphical applications which were gaining root at runtime, instead of being executed directly by root (packagekit, for example, the whole system-* Fedora's specific applications to manage firewall, users, ..)

Version-Release number of selected component (if applicable):
0.100

How reproducible:
Update Polkit from 0.98 (latest version available in Fedora 14) to 0.100 (latest version available in rawhide, this version is required by GNOME3)

Steps to Reproduce:
1. run in a terminal 'pkexec echo test', in a normal execution a graphical window would pop up and ask user to enter root password;
2. notice that the password is asked directly into the terminal.
  
Actual results:
The `textual fallback authentication agent' is used, instead of polkit-gnome authentication agent.

Expected results:
A graphical popup asking the user to enter the root password.

Comment 1 David Zeuthen 2011-03-01 11:30:43 UTC
This is by design as noted here: http://pkgs.fedoraproject.org/gitweb/?p=polkit-gnome.git;a=commit;h=0437824d399884b709b2a923d78cc5410d65be72 - e.g. it is the responsibility of the Desktop Environment you are using to start an authentication agent.