On Tue, Sep 27, 2016 at 4:56 AM, Miroslav Suchý <msuchy(a)redhat.com> wrote:
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.
Can that path issue still be fixed even with consolehelper?
--
真実はいつも一つ!/ Always, there's only one truth!