Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649866 - kde-plasma/powerdevil: remove polkit power management workarounds for bug #529186
Summary: kde-plasma/powerdevil: remove polkit power management workarounds for bug #52...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: SECURITY
Depends on: kde-plasma-5.12.5-stable
Blocks:
  Show dependency tree
 
Reported: 2018-03-07 18:43 UTC by nnnn20430
Modified: 2018-05-26 20:20 UTC (History)
1 user (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 nnnn20430 2018-03-07 18:43:17 UTC
Remove all polkit local authority files (*.pkla) from the kde-plasma/powerdevil package added because of bug 529186.

10-org.freedesktop.upower.pkla is completely useless as upower doesn't provide suspend or hibernate anymore, and the consolekit ones are no longer necessary as KDE's support for consolekit2 is good enough now.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2018-03-12 03:13:03 UTC
Are you using consolekit2 and tested this with the files removed? I'm using elogind so cannot test myself.
Comment 2 nnnn20430 2018-03-12 17:33:24 UTC
Yes i have:

consolekit2: 1.2.0
kde plasma: 5.11
kde frameworks: 5.40
qt: 5.7.1
linux: 4.9.76-gentoo-r1
openrc: 0.34.11

And i tested before i submitted the bug
Comment 3 Larry the Git Cow gentoo-dev 2018-03-15 11:11:42 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=e36c978f32f2ffccf02d23d68960347dca761d48

commit e36c978f32f2ffccf02d23d68960347dca761d48
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2018-03-15 11:11:21 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2018-03-15 11:11:31 +0000

    kde-plasma/powerdevil: remove obsolete pkla files
    
    Bug: https://bugs.gentoo.org/649866
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 kde-plasma/powerdevil/files/10-org.freedesktop.upower.pkla | 14 --------------
 ....freedesktop.consolekit.system.stop-multiple-users.pkla | 13 -------------
 ...eedesktop.consolekit.system.restart-multiple-users.pkla | 13 -------------
 ...eedesktop.consolekit.system.suspend-multiple-users.pkla | 13 -------------
 ...desktop.consolekit.system.hibernate-multiple-users.pkla | 10 ----------
 kde-plasma/powerdevil/powerdevil-5.12.49.9999.ebuild       | 14 --------------
 kde-plasma/powerdevil/powerdevil-9999.ebuild               | 14 --------------
 7 files changed, 91 deletions(-)}
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2018-03-29 07:38:15 UTC
kde-plasma/powerdevil-5.12.4 is available without the installation of the pkla files. Please test and provide feedback.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b987bb059c77d82ef9b24b535e8a09430b9ac35
Comment 5 Andreas Sturmlechner gentoo-dev 2018-05-26 20:20:03 UTC
Plasma 5.11.5 and with it the workarounds are gone.