Bug 502741

Summary: switch to using PolicyKit
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: davidz, rmaximo, smohan, vanmeeuwen+fedora
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-18 17:45:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 502765    

Description Rahul Sundaram 2009-05-27 04:35:27 UTC
Description of problem:

usermode/consolehelper is deprecated since Fedora has a better framework now
called PolicyKit. Please switch to using that instead

http://fedoraproject.org/wiki/Features/PolicyKitOne

Comment 1 John Poelstra 2009-06-08 20:18:39 UTC
Added 'FutureFeature' keyword to avoid rawhide base

Comment 2 Jeremy Katz 2009-07-06 19:15:00 UTC
Hmmm, pkexec would be the obvious way to do this, but pkexec drops most environment variables.

I've read the comments at https://bugs.freedesktop.org/show_bug.cgi?id=17970#c26
 but quite frankly, that misses the point a little bit.  I'm 110% behind dropping them by default, but having a way to add environment variables to preserve in the polkit auth file would make this doable.

Otherwise, we're going to have to do some other hack around sudo or su or something which I'd obviously rather not do :-)

Comment 4 Brian Lane 2010-11-18 17:45:37 UTC
PolKit is overkill for this, especially given that consolehelper is functioning just fine.