Bug 502736 - switch to using PolicyKit
Summary: switch to using PolicyKit
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yumex
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Lauridsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 502765
TreeView+ depends on / blocked
 
Reported: 2009-05-27 04:25 UTC by Rahul Sundaram
Modified: 2013-03-13 05:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-23 05:04:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 :)


Note You need to log in before you can comment on or make changes to this bug.