Polkit on Duktape

Jasper St. Pierre jstpierre at mecheye.net
Wed Sep 9 19:16:25 PDT 2015


We're bending the rules for an extreme special case.
gnome-initial-setup runs while there is no other user on the system,
so there's no password you could possibly enter into the system to
satisfy a polkit dialog. Also, it's annoying to keep popping it up
simply to change the system language.

I suppose you might be able to say that gnome-initial-setup is the
system administrator, in a sense.

On Wed, Sep 9, 2015 at 8:43 AM, Matthew Miller <mattdm at mattdm.org> wrote:
> On Tue, Sep 08, 2015 at 06:04:32PM +0000, Jasper St. Pierre wrote:
>> No, but an upstream like myself would have to rewrite their rules. If an
>> upstream is unaware, it could be a shock.
>
> So, the documentation says this:
>
>        Authorization rules are intended for two specific audiences
>
>        ·   System Administrators
>
>        ·   Special-purpose Operating Systems / Environments
>
>        and those audiences only. In particular, applications, mechanisms and
>        general-purpose operating systems must never include any authorization
>        rules.
>
>
> Which has always left me scratching my head a bit. It does seem to me
> that this leaves pretty big room for the JavaScript portion to only be
> installed in those environments.
>
> --
> Matthew Miller            mattdm at mattdm.org             <http://mattdm.org/>
> Fedora Project Leader  mattdm at fedoraproject.org  <http://fedoraproject.org/>



-- 
  Jasper


More information about the polkit-devel mailing list