Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823002 - gnome-extra/gnome-system-monitor-40.1 should not hard depend on polkit
Summary: gnome-extra/gnome-system-monitor-40.1 should not hard depend on polkit
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-11 05:45 UTC by genBTC
Modified: 2023-07-06 14:38 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 genBTC 2021-11-11 05:45:49 UTC
THE gnome-system-monitor .ebuild Requires a BDEPEND of >=sys-auth/polkit-0.144, with a comment saying "polkit needed at buildtime for ITS rules of policy files, first available in 0.144"

However this is not strictly necessary, and I am running a system without Polkit. I have commented the polkit BDEPEND line out of the ebuild myself. It works fine.

Obviously now, the gnome-system-monitor program can now not gain admin permissions, but this is an acceptable tradeoff, and was coded to be safely usable without them. (just cant kill root/other users processes or renice to negative numbers).

Thus, I propose adding the +polkit USE flag to this package, enabled by default.
That way I can disable the flag.

Reproducible: Always
Comment 1 Mart Raudsepp gentoo-dev 2021-11-12 18:42:45 UTC
The ITS file is required to properly run gettext on the policy file that gnome-system-monitor ships for translations.
You can have it at build time and then uninstall.

We need these files at buildtime from polkit:

/usr/share/gettext/its/polkit.loc
/usr/share/gettext/its/polkit.its