Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760156 - gui-apps/swayidle-9999 Consider dropping redundant dependency sys-apps/systemd[policykit]
Summary: gui-apps/swayidle-9999 Consider dropping redundant dependency sys-apps/system...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/swaywm/swayidle/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-16 10:22 UTC by Oleh
Modified: 2022-05-24 04:59 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 Oleh 2020-12-16 10:22:08 UTC
polkit and relation of systemd[policykit] not mentioned anywhere in swayidle runtime and buildtime dependencies, neither for it's functionality, it requires either logind from systemd or elogind. Please, consider adjusting dependency. This could be valid for release versions as well, i happen to use live ebuild for long time.


Reproducible: Always

Actual Results:  
I removed polkit, polkit-gnome that is pulled as well by gtk USE and rebuild systemd without policykit and swayidle worked as before without issues.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-12-19 21:46:44 UTC
https://github.com/swaywm/swayidle/issues/21 is why I have the the dep on policykit.  specifically this comment stating that enabling policykit got rid of a bug.  Upstream seems to not have the needed dep defined, just the top level one on elogind or systemd https://github.com/swaywm/swayidle/issues/21#issuecomment-462921664
Comment 3 ignamartinoli 2022-05-23 09:43:11 UTC
Is polkit still needed today? Any update on the matter?