polkit-gnome-auth searches for policy files in old location

Bug #421800 reported by Jonas Bonn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
policykit-gnome (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

/usr/share/polkit-1/actions seems to have replaced /usr/share/PolicyKit/policy as the source of policy files... policykit-gnome does not reflect this change yet. Strangely enough, there is still a subset of policy files installed at the old location...

The result of this is that policy files stored in the new location are not reflected in the user interface.

Jonas Bonn (jonas.bonn)
description: updated
Revision history for this message
James Westby (james-w) wrote :

Hi,

The change of location is because the format has changed, and so there
needs to be a transition. The packages that still place files at the old
location need to be ported, and that is more work than just moving the
files.

I'm marking this bug as "Won't Fix", as while this is a problem, reading
from both locations isn't feasible.

Thanks,

James

Changed in policykit-gnome (Ubuntu):
status: New → Won't Fix
Revision history for this message
Jonas Bonn (jonas.bonn) wrote :

Reopening bug:

From the file docs/PORTING-GUIDE in the Policy Kit source:

"The install directory for *.policy files is now $datadir/polkit-1/actions not $datadir/PolicyKit/policy"

policykit-gnome is looking for policy files in the _old_ location /usr/share/PolicyKit/policy and should be changed to take the policy files from the new location /usr/share/polkit-1/actions. Policy files also need to be moved, but that is another problem altogether.

Changed in policykit-gnome (Ubuntu):
status: Won't Fix → Confirmed
Revision history for this message
James Westby (james-w) wrote :

There is a policykit-1-gnome package that is for the new policykit-1 and
reads from the new location. Therefore the old policykit-gnome won't
be made to read from the new location.

Thanks,

James

Changed in policykit-gnome (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Jonas Bonn (jonas.bonn) wrote :

OK, gotcha.... thanks for the clarification.
There's still a bug here, though... somewhere. /usr/bin/polkit-gnome-authorization is installed in Karmic and takes its configuration from the wrong location. This application needs to be updated for the new location and put into the policykit-1-gnome package... don't know where to report that, so I'll just leave that as an "appendix" to this non-bug.

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 421800] Re: polkit-gnome-auth searches for policy files in old location

On Thu Sep 10 10:52:43 UTC 2009 Jonas Bonn wrote:
> OK, gotcha.... thanks for the clarification.
> There's still a bug here, though... somewhere.
> /usr/bin/polkit-gnome-authorization is installed in Karmic and takes its
> configuration from the wrong location. This application needs to be updated
> for the new location and put into the policykit-1-gnome package... don't know
> where to report that, so I'll just leave that as an "appendix" to this non-bug.

You could report it against the policykit-1-gnome package.

Thanks,

James

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.