On Mon, 2022-01-31 at 16:00 +0100, Miroslav Suchý wrote:
Dne 27. 01. 22 v 0:18 Adam Williamson napsal(a):
> BTW, bonus follow-up to this: as part of researching the background of
> polkit, I noticed that we never actually entirely got done moving off
> usermode:( There are still over a dozen packages in the distro that
> require it:
Moving off to where?
To polkit, was the original intention. That's what the Feature says:
https://fedoraproject.org/wiki/Features/UsermodeMigration
FYI there is tracking bug
[Tracker] Deprecate consolehelper and switch apps to use PolicyKit 1 for Fedora 12
https://bugzilla.redhat.com/show_bug.cgi?id=502765
Yes, I know, it's the tracker bug for the above feature :)
but lots of the bugs are closed as DEFERED or WONTFIX.
Yes, I know, check who closed them and when ;) Several of them were
"me, last week". But there are several I had to leave open because I
verified the package was still in the distro and still using
consolehelper, and several tools for which either a bug was never
filed, or it was closed without the migration being done, or they
started using consolehelper later.
Aha, mock was actually the big one on the list that I wondered about,
so thanks for filling that in.
but very soon I discovered that documentation of PolicyKit is nearly non-existent. At
least, it is not sufficient to do
the migration. After reading the code I found that it is likely missing functionality of
consolehelper.
I had a discussion with maintainer of PolicyKit and we both come conclusion that
PolicyKit stopped in the middle of
nowhere and for me and Mock is better to stay with consolehelper.
Does the situation have changed?
I don't know. I can't tell from the above what documentation or
functionality you're missing, and that info doesn't seem to be in the
ticket or bug you linked either (except a very vague mention of needing
"to handle ENV".) I don't know when your conversations and research
took place, so it's hard to say what's changed since.
polkit's maintainer has changed twice (I think) since the time this
feature was introduced, it's currently Jan Rybar. The current polkit
documentation is at
https://www.freedesktop.org/software/polkit/docs/latest/ .
--
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net