[pinephone-manjaro-tweaks] systemd-udevd unable to execute /usr/libexec/fbd-ledctrl
During boot of the PinePhone you'll notice the following errors in the journalctl, regarding the systemd-udevd:
red:indicator: Process '/usr/libexec/fbd-ledctrl -p /sys/devices/platform/leds/leds/red:indicator -t pattern -G feedbackd' failed with exit code 1. blue:indicator: Process '/usr/libexec/fbd-ledctrl -p /sys/devices/platform/leds/leds/blue:indicator -t pattern -G feedbackd' failed with exit code 1. green:indicator: Process '/usr/libexec/fbd-ledctrl -p /sys/devices/platform/leds/leds/green:indicator -t pattern -G feedbackd' failed with exit code 1.
My find is that the regular feedbackd installation would use the directory /usr/libexec to install the fbd-ledctrl binary.
On Manjaro/Arch the directory /usr/libexec isn't present, and from what I understand is that good practice tries to avoid usage as much as possible (according to what I found on ArchWiki).
fbd-ledctrl is present on our installation though, but it's correct path is: /usr/lib/fbd-ledctrl
Creating the directory /usr/libexec and softlinking fbd-ledctrl to it's physical path /usr/lib/fbd-ledctrl makes the errors disappear in the journalctl, although I suppose this wouldn't be the right approach.
I tried to find the script/binary which usually would point in the /usr/libexec direction, and would like to patch it to use /usr/lib as correct path, but haven't been able to find it actually.
That's why I leave this bug report over here, so others can give some input/pointers as well.
Kind regards,
Jasper