I am running a Debian unprivileged LXC container and having a permission problem accessing /dev/dri/rederD128. It appears that the channels-dvr service is configured to run as root user and group.
The character device /dev/dri/renderD128 is owned by nobody:render. And, "root" belongs to the render group. (see screenshot below).
But, when I test with curl as either a regular user or root, the logs say I don't have permission to access renderD128.
backdoc@MediaApps:~$ curl -XPOST http://localhost:8089/hls/hwaccel
2022/05/18 10:50:26.393634 [HWE] Cannot access /dev/dri/renderD128: permission denied
I have temporarily worked around this by changing the channels-dvr service to run as plex:plex and then recursively changed the ownership of the channels-dvr directory.
chown -R plex:plex /usr/local/channels-dvr
I suppose I could create a new channels-dvr user and add them to the render and video group. But, I feel like I'm hacking things up.
Can you possibly help me figure out why the default root:root configuration for channels won't work?
