Needs porting to policykit-1

Bug #419834 reported by Martin Pitt
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned
hplip (Ubuntu)
Fix Released
High
Stan Dolson

Bug Description

Binary package hint: hplip

PolicyKit got a new API ("1.0"), which applications need to be ported to. This requires some changes on PK-protected servers; PK clients simply need to drop all policykit related code entirely, due to the simplified structure of PK 1.0.

hplip is one of the last packages in Karmic which still use the old API, and ought to be ported as soon as possible. It would be bad to ship two authentication stacks and two different user interfaces.

Please see https://wiki.ubuntu.com/DesktopTeam/PolicyKitOneMigration for the status in Karmic, and further links like porting guide, the Fedora specification, and API documentation.

Thanks!

Martin Pitt (pitti)
Changed in hplip (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Dave, Shiyun, Don, can you do the migration to the new polkit1 as soon as possible and provide a patch for HPLIP 3.9.8? In Ubuntu we are after feature freeze for Karmic now and so we cannot take the next HPLIP release into Karmic, but patches are no problem.

This is very important because we do not want to keep both PolicyKit and polkit-1.

See also the migration guide:

http://cgit.freedesktop.org/PolicyKit/tree/docs/PORTING-GUIDE

Changed in hplip:
status: New → Confirmed
Revision history for this message
Stan Dolson (stan-dolson) wrote :

Here's a diff based on the current tip of HPLIP which should suffice
as pkservice.py and base/pkit.py haven't changed in several releases.

This will work with the current 3.9.8 plugin.

Changed in hplip (Ubuntu):
assignee: nobody → Stan Dolson (stan-dolson)
status: Triaged → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Stan, that's awesome. Thank you!

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thank you very much for the patch. I prepared the package with the patch to be uploaded after Alpha 5.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hplip - 3.9.8-0ubuntu4

---------------
hplip (3.9.8-0ubuntu4) karmic; urgency=low

  * debian/patches/hplip-polkit-1-migration.dpatch: Upstream patch to make
    HPLIP supporting Policy Kit 1.0 (LP: #419834).

 -- Till Kamppeter <email address hidden> Wed, 2 Sep 2009 17:13:38 +0200

Changed in hplip (Ubuntu):
status: Fix Committed → Fix Released
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.