Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302443 - app-emulation/libvirt-0.7.5 should depend on >=sys-auth/polkit-0.94 rather than sys-auth/policykit
Summary: app-emulation/libvirt-0.7.5 should depend on >=sys-auth/polkit-0.94 rather th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 12:04 UTC by Mike Auty (RETIRED)
Modified: 2010-02-03 19:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2010-01-27 12:04:10 UTC
Hiya guys,

Just a quick note to say that libvirt-0.7.5 installs files into /usr/share/polkit-1 indicating that it uses polkit-0.94 or greater rather than the (seemingly deprecated) policykit.  Since people are having trouble with policykit (see bug 296153), it would be good to ensure nothing relies on it anymore, particularly things that have already been moved over to the new version.

I've tested this on a machine that doesn't have policykit installed, and has only polkit, and on connecting to libvirt it asks for root authorization.

I'm happy to make the change and bump the package, but I wanted to pass it by the maintainers first, in case there's a specific reason for not having changed the dependencies?
Comment 1 Mike Auty (RETIRED) gentoo-dev 2010-01-27 12:10:00 UTC
Sorry, seems I miss-assigned this...
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2010-01-27 15:17:12 UTC
It's actually supports both. The older version code was actually better tested last I checked. Only recent releases have support for both. They don't plan on dropping the old polkit support for a while until everyone catches up.

We can make a decision for everyone to use the new one, but I would not until the new one catches up and becomes logical again.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2010-01-27 15:40:18 UTC
Ah, ok.  Well, unfortunately policykit seems to be causing people some mounting headaches, so perhaps if libvirt accepts both we could change the dependencies to:

policykit? ( || ( >=sys-auth/policykit-0.6
                  sys-auth/polkit ) )

Which would then allow people who want to, to get rid of the old policykit, but still favour it if it's classed as the more stable system...
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2010-02-03 19:56:48 UTC
fixed in 0.7.6