Red Hat Bugzilla – Bug 502736
switch to using PolicyKit
Last modified: 2013-03-13 01:45:13 EDT
Description of problem:
usermode/consolehelper is deprecated since Fedora has a better framework now
called PolicyKit. Please switch to using that instead
Added 'FutureFeature' keyword to avoid rawhide base
(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
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.
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 :)