Powerdevil isn't running, journalctl --user -xeu plasma-powerdevil output: May 19 12:06:21 ged (werdevil)[3247]: plasma-powerdevil.service: Failed to apply ambient capabilities (before UID change): Operation not permitted May 19 12:06:21 ged (werdevil)[3247]: plasma-powerdevil.service: Failed at step CAPABILITIES spawning /usr/libexec/org_kde_powerdevil: Operation not permitted running manually from terminal "works". As in power management capabilities appear in the desktop, but this isn't a workable solution... Haven't yet had time to play around with the systemd unit. Reproducible: Always
Please include emerge --info. May be the same as https://community.kde.org/Distributions/Packaging_Recommendations#Powerdevil_package_configuration.
There was a discussion of backporting in https://github.com/systemd/systemd/pull/32937 but I don't see it appearing on the v256-stable branch at all.
It's probably overdue to stable systemd-257 at this point anyway, just a bit frustrating.
Updated to systemd 257 (257.5) , powerdevil starts on session startup. So definitely is the same issue. Thanks for quick response!
Stabilisation is done. What to do next? * has_version and apply revert condiitonally? ew * Add artificial dep on systemd in powerdevil * ???
Just my $0.02: plasma 6.4 is scheduled for release on 2025-06-17, and the setcap change appears only in https://invent.kde.org/plasma/powerdevil/-/commit/7860551aeaeed400fb8db9f2535bfa493ce06e53 , so 6.4. Wouldn't stable systemd have propagated to most users by then? For me this doesn't need to be solved in the package.
We must not forget about split-usr: >=systemd-255 is masked for these systems.
(In reply to Andreas Sturmlechner from comment #7) > We must not forget about split-usr: >=systemd-255 is masked for these > systems. I consider split-usr systems with systemd to be basically unsupported at this point. Happy to implement changes to make that more obvious.
https://community.kde.org/Distributions/Packaging_Recommendations#Powerdevil_package_configuration
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=8bd4ed5be948abd2cd00539e0cc48c7987b389d6 commit 8bd4ed5be948abd2cd00539e0cc48c7987b389d6 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-05-30 21:55:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-05-31 11:43:35 +0000 kde-plasma/plasma-meta: RDEPEND on >=sys-apps/systemd-257 To avoid running into kde-plasma/powerdevil won't start bug. Bug: https://bugs.gentoo.org/956312 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-plasma/plasma-meta/plasma-meta-6.3.91.ebuild | 2 +- kde-plasma/plasma-meta/plasma-meta-6.4.49.9999.ebuild | 2 +- kde-plasma/plasma-meta/plasma-meta-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=45392543c517b90ae063b895685c29a29b982ed7 commit 45392543c517b90ae063b895685c29a29b982ed7 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2025-06-04 19:12:55 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2025-06-04 19:12:55 +0000 kde-plasma/powerdevil: ewarn in postinst about too old systemd version Closes: https://bugs.gentoo.org/956312 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> kde-plasma/powerdevil/powerdevil-6.3.91.ebuild | 4 ++++ kde-plasma/powerdevil/powerdevil-6.4.49.9999.ebuild | 4 ++++ kde-plasma/powerdevil/powerdevil-9999.ebuild | 4 ++++ 3 files changed, 12 insertions(+)