Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 502736

Summary: switch to using PolicyKit
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: yumexAssignee: Tim Lauridsen <tla>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: smohan, tla
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: 2009-09-23 05:04:05 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:25:15 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:36 UTC
Added 'FutureFeature' keyword to avoid rawhide base

Comment 2 Tim Lauridsen 2009-06-11 10:41:46 UTC
(In reply to comment #0)
> 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  

I think it is to early to start using PolicyKitOne, it is still a moving target and there is no useful documentation to convert application from consolehelper to PolicyKitOne.

Application need to be redesigned from scratch and split into a backend doing the root actions and a frontend running as a normal user and some DBUS magic to communicate between the backend and frontend.
Some of the work in splitting yumex into a frontend gui and a backend doing the yum actions is already done i Yum Extender Nextgen, but the PolicyKitOne have no python bindings and there is no good docs on how to use it and there is only a porting guide for PolicyKit to PolicyKitOne, not for consolehelper type of applications to using PolicyKitOne.

Comment 3 Tim Lauridsen 2009-09-23 05:04:05 UTC
Current yumex in rawhide, only uses consolehelper for spawning a child doing the the backend yum actions, and the gui runs as normal user. So the the security reasons to split the parts needing root access from the gui is implemented.
So i will close this a wontfix, feel free to reopen when PolicyKitOne matures and has has good documentation and python python bindings, so i don't have to reimplement any thing i C to make it work with PolicyKitOne :)