android_system_core/rootdir
Kevin Brodsky 13d86ad6bf init.rc: start tombstoned before switching mount namespace
Unlike apexd, tombstoned uses the regular dynamic linker path
(/system/bin/linker64). As a result, starting it after we have
switched to the default mount namespace but before APEXes have been
activated fails, because /system/bin/linker64 does not exist between
those two events. Fix that by starting tombstoned even earlier,
before we have switched mount namespace.

To avoid reintroducing the bug fixed by 2c9c8eb5ff ("init.rc:
create /data/vendor* earlier"), also make sure that /data/vendor* is
still created before /data/vendor/tombstones.

While at it, move the creation of /data/anr before starting
tombstoned, because tombstoned assumes that /data/anr exists.

Fixes: 81c94cdce6 ("Start tombstoned early in post-fs-data.")
Test: boot fvp-eng and fvp_mini-eng, check that tombstoned starts
      succesfully on the first attempt
Change-Id: Ic52383c35fb39c61c2f0e0665fd10e795895d50d
2020-12-17 16:09:36 +00:00
..
avb Fix comments. 2020-11-16 10:07:16 -08:00
etc Remove provide libs from file 2020-12-01 10:41:09 +09:00
adb_debug.prop Adding adb_debug.prop into debug ramdisk 2019-04-23 11:13:46 +08:00
Android.bp Remove provide libs from file 2020-12-01 10:41:09 +09:00
Android.mk Adding 'postinstall' root dir unconditionally. 2020-12-04 17:07:26 +08:00
asan.options Include asan options from data partition. 2017-08-09 15:32:23 -07:00
asan_extract.rc Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
asan_extract.sh Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
init-debug.rc
init.environ.rc.in Set Clang coverage environment variables. 2020-01-13 14:38:15 -08:00
init.rc init.rc: start tombstoned before switching mount namespace 2020-12-17 16:09:36 +00:00
init.usb.configfs.rc Remove sys.usb.ffs.mtp.ready property 2018-03-22 11:35:20 -07:00
init.usb.rc Don't reset sys.usb.configfs during userspace reboot 2020-01-31 15:59:19 +00:00
init.zygote32.rc init/service_parser: Add arguments window' and target' for `critical' 2020-10-26 11:38:01 +08:00
init.zygote64.rc init/service_parser: Add arguments window' and target' for `critical' 2020-10-26 11:38:01 +08:00
init.zygote64_32.rc init/service_parser: Add arguments window' and target' for `critical' 2020-10-26 11:38:01 +08:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
ueventd.rc ueventd: Fix property variable for ro.hardware in ueventd.rc 2020-12-16 15:54:15 +09:00