SUMMARY Hello, on my Fedora 42 the plasma-powerdevil.service is not starting up. It was working before the update. In my journalctl i found: Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1. Jun 23 17:27:10 fedora systemd[2634]: Starting plasma-powerdevil.service - Powerdevil... Jun 23 17:27:10 fedora (werdevil)[3260]: plasma-powerdevil.service: Failed to apply ambient capabilities (before UID change): Operation not permitted Jun 23 17:27:10 fedora (werdevil)[3260]: plasma-powerdevil.service: Failed at step CAPABILITIES spawning /usr/libexec/org_kde_powerdevil: Operation not permitted Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Main process exited, code=exited, status=218/CAPABILITIES Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Failed with result 'exit-code'. Jun 23 17:27:10 fedora systemd[2634]: Failed to start plasma-powerdevil.service - Powerdevil. I deleted the parameter AmbientCapabilities=CAP_WAKE_ALARM in the service file and now it is working again. The think the parameter is new. STEPS TO REPRODUCE 1. Update or Install KDE 6.4 on Fedora 42 2. journalctl --user -u plasma-powerdevil.service 3. Delete AmbientCapabilities=CAP_WAKE_ALARM in /usr/lib/systemd/user/plasma-powerdevil.service OBSERVED RESULT Powermanagment is not working EXPECTED RESULT Powermanagment is working SOFTWARE/OS VERSIONS Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.0 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.14.11-300.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 14 × Intel® Core™ Ultra 5 125U Memory: 32 GiB of RAM (30.8 GiB usable) Graphics Processor: Intel® Graphics ADDITIONAL INFORMATION
Affected me also on Arch after upgrading to 6.4.0. Same errors in journalctl. But rather than deleting the AmbientCapabilities line from the service file, I did: systemctl --user edit plasma-powerdevil and then entered the following override: [Service] AmbientCapabilities=
*** This bug has been marked as a duplicate of bug 506052 ***
Hi Jonathan, Please see duplicated comment in last thread, do you have such an special setup?
I do have the same issue on the similar setup.
Can confirm that my uid was the issue. My uid has always been 501 since Slackware ~20 years ago. Changing my uid to 1000 solved this issue plus a long-standing issue I had with KDE's user management not working. SDDM will also work now without having to change the minimum uid.
(In reply to Bhushan Shah from comment #3) > Hi Jonathan, Please see duplicated comment in last thread, do you have such > an special setup? Hi, can i can confirm that i works with "normal" uids (1000) on my private Fedora. The Issue is on my work laptop with sssd and an Mircosoft AD integration. UIDs are way higher. When you need the exact uid we have to wait until monday.