Please port to polkit-1 or drop policykit usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
checkbox (Ubuntu) |
Fix Released
|
High
|
Marc Tardif | ||
Karmic |
Fix Released
|
High
|
Marc Tardif |
Bug Description
Binary package hint: checkbox
checkbox is one of two remaining packages in the Ubuntu default install which still uses the deprecated policykit 0.9 API. Please port to the new polkit-1 API.
This generally means to change the backend code to the new API, completely throw away everything PolicyKit related from the frontends (polkit daemon invokes authorization dialogs on its own now), and moving around the .policy file.
Please see https:/
Please see http://
Also, I noticed that the current PolicyKit usage does not make real sense:
<
<
<
in other words, there is no restriction at all. So if you don't need fine-grained permissions, then you could just drop all the PK stuff and restrict the D-BUS policy from
<policy context="default">
<allow send_destinatio
<allow send_destinatio
<allow send_destinatio
</policy>
to
<policy context="default">
<allow send_destinatio
<allow send_destinatio
</policy>
<policy at_console="true">
<allow send_destinatio
</policy>
so that users on a local foreground console users can run the tests, but nobody else.
at_console is deprecated as well, but at least still works (while the old policykit gnome agent is not even installed by default any more).
Related branches
Changed in checkbox (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
I can probably help out with this, but would like to get Marc's opinion first.