Bug 487190 - virt-manager has hardcoded Requires: PolicyKit-gnome
virt-manager has hardcoded Requires: PolicyKit-gnome
Product: Fedora
Classification: Fedora
Component: virt-manager (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Berrange
Fedora Extras Quality Assurance
Depends On:
Blocks: F11VirtTarget Req-PolicyKit-gnome
  Show dependency treegraph
Reported: 2009-02-24 13:00 EST by Kevin Kofler
Modified: 2009-03-04 18:36 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-03-04 18:36:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kevin Kofler 2009-02-24 13:00:14 EST
Description of problem:
virt-manager 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.

(Note that virt-manager is not included on the current KDE spin.)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. repoquery --repoid=rawhide --whatrequires PolicyKit-gnome
Actual results:
virt-manager requires PolicyKit-gnome.

Expected results:
virt-manager does not require PolicyKit-gnome.

Additional info:
Maybe a common Provides in both PolicyKit-gnome and PolicyKit-kde is needed?
Comment 1 Mark McLoughlin 2009-02-25 04:18:23 EST
Looks to me like we can just require PolicyKit >= 0.7:


i.e. since PolicyKit 0.7 we use org.freedesktop.PolicyKit.AuthenticationAgent which can be implemented by either PolicyKit-gnome or PolicyKit-kde, rather than directly using org.gnome.PolicyKit
Comment 2 Daniel Berrange 2009-02-25 06:06:49 EST
Yeah, there's no reason for us to depend on PolicyKit-gnome directly anymore in Fedora.
Comment 3 Kevin Kofler 2009-02-27 12:23:57 EST
In Rawhide, both PolicyKit-gnome and PolicyKit-kde now have:
Provides: PolicyKit-authentication-agent
so you can require this instead of PolicyKit-gnome.
Comment 4 Cole Robinson 2009-03-04 18:36:39 EST
Okay, this is in virt-manager-0.6.1-4.fc11. Closing

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