Red Hat Bugzilla – Bug 502741
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
Hmmm, pkexec would be the obvious way to do this, but pkexec drops most environment variables.
I've read the comments at https://bugs.freedesktop.org/show_bug.cgi?id=17970#c26
but quite frankly, that misses the point a little bit. I'm 110% behind dropping them by default, but having a way to add environment variables to preserve in the polkit auth file would make this doable.
Otherwise, we're going to have to do some other hack around sudo or su or something which I'd obviously rather not do :-)
PolKit is overkill for this, especially given that consolehelper is functioning just fine.