tombstoned: start immediately after /data is mounted.

Catch as many early-boot crashes as we can by starting tombstoned
immediately after /data is mounted.

Bug: http://b/139864948
Test: adb shell su 0 dmesg | grep "starting service"
Change-Id: I7f8821102191a445e87020f3efa59a2e0620d9db
This commit is contained in:
Josh Gao 2019-08-22 15:19:44 -07:00
parent 9612e2767e
commit 8ad965ae5e
1 changed files with 3 additions and 3 deletions

View File

@ -2,10 +2,10 @@ service tombstoned /system/bin/tombstoned
user tombstoned
group system
# Don't start tombstoned until after the real /data is mounted.
class late_start
socket tombstoned_crash seqpacket 0666 system system
socket tombstoned_intercept seqpacket 0666 system system
socket tombstoned_java_trace seqpacket 0666 system system
writepid /dev/cpuset/system-background/tasks
on post-fs-data
start tombstoned