File ownership conflict between feedbackd and sxmo-utils
This is copied from an issue in Alpine aports that @proycon filed. I copied it because I believe this is a pmOS issue and not Alpine, since pmOS adds users to default groups during installation.
Description from aports issue:
Both packages sxmo-utils and feedbackd set up udev rules to set group ownership for LEDs in /sys/class/leds/*
. Sxmo uses the 'video' group, feedbackd uses its own 'feedbackd' group.
Package megapixels 1.6.0 (popular on sxmo and postmarketos in general), now depends feedbackd, which leads to a conflict with sxmo no longer being able to control the leds as feedbackd changed the group ownership and the main user (on postmarketos) is not in this group. This may possibly be more of a postmarketos issue, but since the packages are in Alpine I thought I'd submit it here. The underlying question is who should take ownership of the leds (e.g. on a mobile phone)? I'd prefer something as generic as possible.
Reference ticket at sxmo: https://todo.sr.ht/~mil/sxmo-tickets/542
@Cogitri @ollieparanoid @MartijnBraam How can we best resolve this so it works for all?
(also tagging sxmo co-maintainers @anjandev @StacyHarper @phartman)