Comment 7 for bug 1086783

Revision history for this message
Robert Ancell (robert-ancell) wrote :

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.