An update on the current state of this: - polkit upstream currently depends on mozjs60 - mozjs60 is in main, but only for the use of GNOME Shell. - The current polkit Debian/Ubuntu package has 61 patches in it, backporting lots of changes from version 106 to 116. - There are upstream requests for running polkit without a JS interpreter. - There is an open MR to switch from mozjs to duktape (https://gitlab.freedesktop.org/polkit/polkit/merge_requests/35). - Debian experimental has polkit 116 packaged (i.e. with JS backend). - I've made a proof of concept branch which reinstates the local backend (https://gitlab.freedesktop.org/rancell/polkit/tree/traditional-backend) which works.
It's desirable that we run the latest version in Debian/Ubuntu, which requires one of: - We re-assess the use of mozjs and decide if it's acceptable in this case. - We support the switch from mozjs to duktape if that's a safer option. - We propose the old local backend upstream as an alternative to the JS backend. - We carry the local backend as a patch on upstream. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to policykit-1 in Ubuntu. https://bugs.launchpad.net/bugs/1086783 Title: New PolicyKit 0.106 changes configuration file format Status in policykit-1 package in Ubuntu: Triaged Status in policykit-1 package in Debian: Fix Released Bug description: From the NEWS file: This is polkit 0.106. There's a major change in this release which is a switch from .pkla files (keyfile-format) to .rules files (JavaScript). We may want to hold off on the new version because it requires rewriting the configuration files, and adds a dependency on mozjs185, which will need a MIR (and getting a MIR may be problematic) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1086783/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp