Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622800 - sys-auth/polkit-113-r2: elogind integration is incomplete (patch included)
Summary: sys-auth/polkit-113-r2: elogind integration is incomplete (patch included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: elogind-support
  Show dependency tree
 
Reported: 2017-06-27 07:33 UTC by Sven Eden
Modified: 2017-06-27 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated elogind integration patch (polkit-0.113-elogind.patch,6.00 KB, patch)
2017-06-27 07:33 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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