Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 760156

Summary: gui-apps/swayidle-9999 Consider dropping redundant dependency sys-apps/systemd[policykit]
Product: Gentoo Linux Reporter: Oleh <moonlapse81>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, speedjack95
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/swaywm/swayidle/issues/21
See Also: https://bugs.gentoo.org/show_bug.cgi?id=847121
Whiteboard:
Package list:
Runtime testing required: ---

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?