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

Bug 622800

Summary: sys-auth/polkit-113-r2: elogind integration is incomplete (patch included)
Product: Gentoo Linux Reporter: Sven Eden <sven.eden>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sven.eden
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 599470    
Attachments: Updated elogind integration patch

Description Sven Eden 2017-06-27 07:33:25 UTC
Created attachment 478148 [details, diff]
Updated elogind integration patch

Hello everybody,

unfortunately I found a place in polkit I overlooked when patching in elogind support.

The result is rather harsh, polkit does *not* ask elogind for the calling users session and seat. The consequence is, that loginctl asks for the root password for every simply thing. Literally everything, because polkit can't match against <active> in the elogind policy set, but has to resort to <any>.

Please find attached an updated polkit-0.113-elogind.patch that fixes the issue.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-06-27 12:05:10 UTC
Great, thanks!

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487ef5103ed45a49310282d483c41f0dcf6638e2