Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6b22492 authored by Max Bires's avatar Max Bires Committed by Jeffrey Vander Stoep
Browse files

Adding extra rc commands to fix incidentd with respect to selinux

Incidentd has sepolicy rules to allow it to write to
/data/misc/incidents/ but it needs the directory to already be created.
This modification will set the service to be UID/GID system and create
the directory under system permissions.

Test: no selinux denials related to incidentd on bootup
Bug: 64275854
Change-Id: I0f4db90f4eeb6dae5019e5bc1df590bd781a9507
parent 98c84094
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14,3 +14,7 @@

service incidentd /system/bin/incidentd
    class main

on post-fs-data
    # Create directory for incidentd
    mkdir /data/misc/incidents 0770 root root