Bug 487200 - system-config-services has hardcoded Requires: PolicyKit-gnome
Summary: system-config-services has hardcoded Requires: PolicyKit-gnome
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-services
Version: rawhide
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Target Req-PolicyKit-gnome
TreeView+ depends on / blocked
 
Reported: 2009-02-24 18:16 UTC by Kevin Kofler
Modified: 2009-03-02 08:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-02 08:35:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Kofler 2009-02-24 18:16:50 UTC
Description of problem:
system-config-services has a hardcoded dependency on PolicyKit-gnome. Is this really necessary? In the KDE spin, we would like to ship PolicyKit-kde instead of PolicyKit-gnome. PolicyKit-kde also implements the org.freedesktop.PolicyKit.AuthenticationAgent service.

system-config-services is included on the current KDE spin. gnome-mount and system-config-services are the packages actually dragging PolicyKit-gnome onto the KDE spin.

Version-Release number of selected component (if applicable):
system-config-services-0:0.99.31-1.fc11

How reproducible:
Always

Steps to Reproduce:
1. repoquery --repoid=rawhide --whatrequires PolicyKit-gnome
  
Actual results:
system-config-services requires PolicyKit-gnome.

Expected results:
system-config-services does not require PolicyKit-gnome.

Additional info:
Maybe a common Provides in both PolicyKit-gnome and PolicyKit-kde is needed?

Comment 1 Nils Philippsen 2009-02-25 10:08:07 UTC
> Additional info:
> Maybe a common Provides in both PolicyKit-gnome and PolicyKit-kde is needed?

I think so. Could you take care of that? This virtual dependency could be "dbus(session:org.freedesktop.PolicyKit.AuthenticationAgent)".

BTW: what happens when both PolicyKit-gnome and -kde packages are installed? Which one gets used if something accesses the org.freedesktop.PolicyKit.AuthenticationAgent bus name?

Comment 2 Kevin Kofler 2009-02-27 17:24:08 UTC
In Rawhide, both PolicyKit-gnome and PolicyKit-kde now have:
Provides: PolicyKit-authentication-agent
so you can require this instead of PolicyKit-gnome.

Comment 3 Kevin Kofler 2009-02-27 17:39:09 UTC
As for coexistence of both, see bug 484945 - hopefully we can also get that sorted out by F11, but fixing the Requires allows us to ship only PolicyKit-kde on the KDE spin and thus also works around that issue.

Comment 4 Nils Philippsen 2009-03-02 08:35:12 UTC
Fixed in system-config-services-0.99.32-1.fc11 which is building right now.


Note You need to log in before you can comment on or make changes to this bug.