Fairphone 4: DRM crashing due to missing selinux rule
Expected Behavior
When going to standby, phone should eventually go to deepsleep
Current Behavior
drmserver
service keeps restarting, hindering deepsleep:
07-05 20:15:18.235 16882 16882 W drmserver: type=1400 audit(0.0:10474): avc: denied { map } for path="/system/bin/sh" dev="dm-2" ino=539 scontext=u:r:drmserver:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=0
Steps to Reproduce
Install the ROM, enable ADB, connect to PC and grep logcat for denied
. Watch it go on during standby.
Device information
/device FP4 /version 20-20230625-NIGHTLY-FP4 /date 2023-06-25 /kernel 4.19.282-perf-g17502d72ad4a #1 Sun Jun 25 05:28:08 UTC 2023 /baseband MPSS.HI.2.5.1-01001-BITRA_GEN_PACK-1 /mods Magisk
I have read the directions
Edited by niansa