Dne 21.9.2016 v 15:29 Miroslav Suchý napsal(a):
Dne 10.9.2016 v 18:29 Kevin Fenzi napsal(a):
> On Fri, 9 Sep 2016 14:21:33 -0500
> "Dustin C. Hatch" <dustin.hatch(a)firemon.com> wrote:
>
>> On 08/29/2016 11:00 AM, Kevin Fenzi wrote:
>>> consolehelper should long be deprecated these days
>>
>> Out of curiosity, what is the preferred method for self-elevating
>> programs written in an interpreted language, then?
>
> PolicyKit.
>
> Looks like there was an attempt in ~f20 to replace all the old
> consolehelper/usermode packages with polkit, but I guess it didn't get
> done.
>
>
http://fedoraproject.org/wiki/Features/UsermodeMigration
I tried to convert mock to use pkexec. Here it is:
https://github.com/xsuchy/mock-1/commit/4276ef488ac2d134504173d88a8a58fc0...
After discussion with Mitr (most active developer of polkit) I am giving up on this work.
Pkexec does not have priority and it is unlikely that those problem I faced up will be
resolved. So the migration of
Mock will likely break user experience. Therefore I will rather stay with consolehelper,
which may be old, but it works.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys