I recently setup up two new PCs with LXQt as desktop environment and systemd as init system. LXQt pulls in sys-auth/polkit-qt which again pulls in sys-auth/polkit. In this setup systemd will block access to Power Off, Hibernate and so on - permission denied. (Start "lxqt-leave" from the command line to see the relevant log messages.) I fixed this issue by emerging systemd with the policykit use flag. IMHO I think sys-auth/polkit should require this. Or is there some other reason to not do so? The patch to the ebuild is trivial so I haven't attached it.
I think that should be fine. sys-apps/systemd has sys-auth/polkit in PDEPEND to avoid the circular dependency problem anyway.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f83c5cb2a9fda577ed3d43ddff0eb673a15a05c commit 3f83c5cb2a9fda577ed3d43ddff0eb673a15a05c Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2019-03-16 06:25:51 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2019-03-16 06:26:07 +0000 sys-auth/polkit: ensure systemd is built with policykit Closes: https://bugs.gentoo.org/680226 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org> sys-auth/polkit/polkit-0.115-r3.ebuild | 142 +++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+)