Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674438 - USE=policykit descriptions should contain a reference to sys-apps/polkit
Summary: USE=policykit descriptions should contain a reference to sys-apps/polkit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-03 17:58 UTC by Jaak Ristioja
Modified: 2020-12-16 20:00 UTC (History)
1 user (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 Jaak Ristioja 2019-01-03 17:58:06 UTC
Gentoo has a "policykit" USE-flag, but a sys-apps/polkit package. This is a source of slight confusion.

If Gentoo will not rename the "policykit" USE-flag (see bug #438320) and continue to refer to Polkit using its former name, I suggest that the USE-flag descriptions at least contain a reference to sys-apps/polkit. Most of the descriptions already do so, but not all:

# quse -D policykit
 global:policykit: Enable PolicyKit authentication support
 local:policykit:app-emulation/virt-manager: Enables sys-auth/polkit authentication support, required when using app-emulation/libvirt with PolicyKit authentication
 local:policykit:net-firewall/ufw-frontends: Use pkexec to gain root privileges
 local:policykit:net-misc/spice-gtk: Enable sys-auth/polkit support for the usbredir acl helper
 local:policykit:sys-apps/pcsc-lite: Uses sys-auth/polkit to restrict access to smartcard readers or smartcars to given users.
 local:policykit:sys-auth/consolekit: Use the PolicyKit framework (sys-auth/polkit) to get authorization for suspend/shutdown.

I also suggest that the DESCRIPTION of the sys-apps/polkit package include a note about the former name of Polkit being PolicyKit. Thank you!
Comment 1 crabbed halo ablution 2020-12-16 19:22:33 UTC
As far as I can tell, all local descriptions of policykit useflags contain <pkg>sys-auth/polkit</pkg> tags.
Do we want to add a sys-auth/polkit reference to the global description too or can this bug be closed?
Comment 2 Mike Gilbert gentoo-dev 2020-12-16 19:55:55 UTC
This seems like a job for the polkit maintainers, not QA.
Comment 3 Larry the Git Cow gentoo-dev 2020-12-16 20:00:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395490ebe069cd3856ab7f86287220de0ed239f9

commit 395490ebe069cd3856ab7f86287220de0ed239f9
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-16 19:58:54 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-16 20:00:25 +0000

    profiles: update policykit use flag description
    
    Closes: https://bugs.gentoo.org/674438
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/use.desc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)