Backlight controls work in Leap but not in Tumbleweed

I added Tumbleweed to an existing Leap system, and almost everything is working. I get the following journal entries on the Leap partition:

> cat backlighthelper-leap 
> journalctl -b | grep backlighthelper > backlighthelper-leap
Sep 01 11:15:28 Mobile-PC dbus-daemon[919]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.26' (uid=1000 pid=1989 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Sep 01 11:15:28 Mobile-PC dbus-daemon[919]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'

However, I get the following in Tumbleweed:

> cat backlighthelper-tumbleweed
> journalctl -b | grep backlighthelper > backlighthelper-tumbleweed 
Sep 01 11:08:29 Mobile-PC dbus-daemon[933]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.25' (uid=1000 pid=1621 comm="/usr/libexec/org_kde_powerdevil") (using servicehelper)
Sep 01 11:08:29 Mobile-PC dbus-daemon[933]: [system] Activated service 'org.kde.powerdevil.backlighthelper' failed: Failed to execute program org.kde.powerdevil.backlighthelper: Permission denied
Sep 01 11:08:29 Mobile-PC org_kde_powerdevil[1621]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed

The function keys and powerdevil slider work in Leap, but not in Tumbleweed. Does anybody have an idea where to look?

Thanks,

Gene

Here’s a little more information, it looks like all the necessary files are in Tumbleweed.

Leap:

> locate backlighthelper
/usr/lib/kauth/backlighthelper
/usr/share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
/usr/share/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
/usr/share/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy

Tumbleweed:

> locate backlighthelper
/usr/libexec/kauth/backlighthelper
/usr/share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
/usr/share/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
/usr/share/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy

Gene

Show

cat /usr/share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
> cat /usr/share/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
[D-BUS Service]
Name=org.kde.powerdevil.backlighthelper
Exec=/usr/libexec/kauth/backlighthelper
User=root

Is that correct?

Thanks,
Gene

And what permissions does it have?

ls -l /usr/libexec/kauth/backlighthelper
> ls -l /usr/libexec/kauth/backlighthelper 
-rwxr-xr-x 1 root root 35088 Aug 12 18:47 /usr/libexec/kauth/backlighthelper

I assume the contents were OK in the first file you asked about.

Gene

I may be looking in the wrong place. This shows that the problem is common to many powerdevil helpers.

> journalctl -b | grep -i powerdevil | grep -i failed
Sep 02 12:54:12 Mobile-PC dbus-daemon[912]: [system] Activated service 'org.kde.powerdevil.discretegpuhelper' failed: Failed to execute program org.kde.powerdevil.discretegpuhelper: Permission denied
Sep 02 12:54:12 Mobile-PC org_kde_powerdevil[1522]: org.kde.powerdevil: org.kde.powerdevil.discretegpuhelper.hasdualgpu failed
Sep 02 12:54:12 Mobile-PC dbus-daemon[912]: [system] Activated service 'org.kde.powerdevil.chargethresholdhelper' failed: Failed to execute program org.kde.powerdevil.chargethresholdhelper: Permission denied
Sep 02 12:54:12 Mobile-PC org_kde_powerdevil[1522]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "DBus Backend error: service start org.kde.powerdevil.chargethresholdhelper failed: Failed to execute program org.kde.powerdevil.chargethresholdhelper: Permission denied"
Sep 02 12:54:12 Mobile-PC dbus-daemon[912]: [system] Activated service 'org.kde.powerdevil.backlighthelper' failed: Failed to execute program org.kde.powerdevil.backlighthelper: Permission denied
Sep 02 12:54:12 Mobile-PC org_kde_powerdevil[1522]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Sep 02 12:54:12 Mobile-PC dbus-daemon[912]: [system] Activated service 'org.kde.powerdevil.chargethresholdhelper' failed: Failed to execute program org.kde.powerdevil.chargethresholdhelper: Permission denied
Sep 02 12:54:12 Mobile-PC org_kde_powerdevil[1522]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "DBus Backend error: service start org.kde.powerdevil.chargethresholdhelper failed: Failed to execute program org.kde.powerdevil.chargethresholdhelper: Permission denied"

Does that point to anything obvious?

Thanks again,
Gene

Fixed by reinstalling all the dbus packages. The servicehelper that was failing is part of dbus-1.

Gene