PolicyKit Implicit and Explicit Authorisations Not Being Applied

Bug #328921 reported by nullack
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GTK+
New
Unknown
policykit-gnome (Ubuntu)
Triaged
Medium
Canonical Desktop Team
Jaunty
Triaged
Medium
Canonical Desktop Team

Bug Description

Binary package hint: policykit-gnome

A critical bug exists in Jaunty, tested today 13/02/09, where any implicit or explicit authorisations are not being applied. I am attempting to add either an explicit or implicit auth for the ability to modify system connections under network-manager-settings then system, where in both cases clicking on grant for explicit and modify for implicit results in nothing happening.

This is part of me trying to re-test bug #258743

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures

At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

Changed in policykit-gnome:
status: New → Incomplete
Revision history for this message
nullack (nullack) wrote :

Expected Result 1: Valid implicit policy kit authorisation changes are applied.

Expected Result 2: Valid explicit policy kit authorisation changes are applied.

Execution Steps:

System - Administration - Authorisations
org - freedesktop - network-manager-settings - system - modify system connections
Click edit in implicit authorisations
Change anyone from no to yes

ACTUAL RESULT: Field population does not change after clicking on modify, no effect

In explicit authorisations click grant
Select the current test user account to be the beneficiary
Confirm no constraints is selected
Click grant

ACTUAL RESULT: Field population does not change after clicking grant, no effect

Changed in policykit-gnome:
status: Incomplete → New
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

The authorization dialog doesn't show when you attempt to change any policy by the looks of it. And it spits out several errors:

(polkit-gnome-authorization:6794): GLib-GObject-WARNING **: invalid cast from `PolKitGnomeToggleAction' to `GtkToggleAction'

(polkit-gnome-authorization:6794): Gtk-CRITICAL **: gtk_toggle_action_get_active: assertion `GTK_IS_TOGGLE_ACTION (action)' failed

(polkit-gnome-authorization:6794): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: assertion `tree_view->priv->tree != NULL' failed

Changed in policykit-gnome:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Extracting the contents of /usr/lib from the Intrepid libgtk package to my desktop, and then running "LD_PRELOAD=~/Desktop/lib/libgtk-x11-2.0.so.0 polkit-gnome-authorization" makes this work properly, so I'm re-assigning to gtk+2.0.

Changed in policykit-gnome:
status: Confirmed → Triaged
Steve Beattie (sbeattie)
Changed in gtk+2.0:
assignee: nobody → canonical-desktop-team
Revision history for this message
Sebastien Bacher (seb128) wrote :

why did you assign this bug to a canonical team rather than desktop-bugs as we do usually for desktop bugs?

Revision history for this message
Steve Beattie (sbeattie) wrote : Re: [Bug 328921] Re: PolicyKit Implicit and Explicit Authorisations Not Being Applied

On Fri, Feb 20, 2009 at 10:15:25AM -0000, Sebastien Bacher wrote:
> why did you assign this bug to a canonical team rather than desktop-bugs
> as we do usually for desktop bugs?

Feel free to change the assignment. I did it based on
https://wiki.canonical.com/UbuntuPlatform/QA/BugFixing/TeamBugLists but
if for the desktop team we should assign them to desktop-bugs instead,
we can do that.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Upstream recommended a patch for policykit-gnome from fedora, and James Westby has confirmed that this fixes the problem. Re-assigning back to policykit-gnome

Changed in gtk:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.