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

Commit c2ea70ae authored by Nick Kralevich's avatar Nick Kralevich
Browse files

init.rc: mkdir /data/anr 0775 system system

Ensure that /data/anr always exists. This allows us to eliminate
some code in system_server and dumpstate. In addition, this change
solves a common problem where people would create the directory
manually but fail to set the SELinux label, which would cause
subsequent failures when they used the directory for ANRs.

Bug: 22385254
Change-Id: I29eb3deb21a0504aed07570fee3c2f87e41f53a0
parent ed217967
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -292,6 +292,7 @@ on post-fs-data
    mkdir /data/mediadrm 0770 mediadrm mediadrm

    mkdir /data/adb 0700 root root
    mkdir /data/anr 0775 system system

    # symlink to bugreport storage location
    symlink /data/data/com.android.shell/files/bugreports /data/bugreports