Bug 502765 - [Tracker] Deprecate consolehelper and switch apps to use PolicyKit 1 for Fedora 12
Summary: [Tracker] Deprecate consolehelper and switch apps to use PolicyKit 1 for Fedo...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Radek Vokál
QA Contact: Radek Vokál
URL:
Whiteboard:
Depends On: 493917 493922 502723 502740 480902 493901 493903 493904 493908 493909 493916 502714 502715 502716 502717 502718 502719 502720 502721 502722 502724 502725 502726 502727 502729 502730 502731 502732 502733 502734 502735 502736 502738 502739 502741 502742 502743 502748 502749 502750 502751 502752 502753 502754 502755 502756 502757 502758 502759 502760 502761 502762 502800 502801 502802 502803 502804 502808 1145813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-27 05:47 UTC by Rahul Sundaram
Modified: 2024-07-14 21:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-05-27 05:47:20 UTC
Description of problem:


Bugs have been filed against all software in Fedora using consolehelper/usermode asking them to switch to PolicyKit 1.  This is the tracker bug for that.

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

Comment 1 Jaroslav Reznik 2009-05-27 06:39:56 UTC
Hi,
reported bugs for system configuration tools are duplicates of already filled ones by System Configuration Tools Cleanup Project. As this bug depends on this project too I think it's to close new ones as duplicates - we can take care about the rest of s-c-* tools too.

Comment 2 John Poelstra 2009-06-08 19:24:32 UTC
Adding 'Tracking' keyword to be excluded from rawhide rebase to Fedora 11

Comment 3 Axel Thimm 2009-07-25 13:07:43 UTC
I got two applications with bugzillas asking to move to PolicyKit, and while googling around to see if there is a HOWTO for that I found the following:

(In reply to bug #502736 comment #2)
> (In reply to bug #502736 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.  

Also out of the 50 bugs filed, none did resolve to fixed, they are either all still open, closed as duplicates or closed as wontfix/cantfix with arguments like "Closing this WONTFIX because I wont waste my time replacing a hack with another one." or "Can't really afford to spend time on PolicyKit integration, but patches are happily accepted. For now, consolehelper does the job."

Maybe the request to integrate PolicyKit everywhere is too early and perhaps submitted at the wrong layer? It does look like it takes upstream skills to integrate it into an application, while usermode/consolehelper was trivial to implement.

Anyway if a HOWTO pops up and the packagers are properly guided to make the switch it has better chances of happening.

Comment 4 Rahul Sundaram 2009-07-25 18:55:41 UTC
You can merely pass on the RFE upstream. It is not just a packaging issue.

Comment 8 Adam Williamson 2022-01-26 23:16:37 UTC
So I checked, and, uh...several of these are really still outstanding. We still didn't get rid of usermode after all these years. I closed the bugs for packages that have been retired, but all the ones still open are for packages that really do still exist and really do still depend on usermode.

Additionally, I found a few packages that depend on usermode which don't have a bug depending on this one:

anaconda-live
beesu
chkrootkit
hddtemp
mate-system-log
mock
setuptool
subscription-manager
system-switch-mail

so maybe we need to file a bunch of new bugs. :(


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