diff options
author | Kevin Brodsky <kevin.brodsky@arm.com> | 2020-12-17 15:32:50 +0000 |
---|---|---|
committer | Kevin Brodsky <kevin.brodsky@arm.com> | 2020-12-17 16:09:36 +0000 |
commit | 13d86ad6bfd6916a0b7997eb943a70fb2c925630 (patch) | |
tree | 8e6a2bf0647237d1ab31bcafdf102436abd01932 /debuggerd/debuggerd_test.cpp | |
parent | cf110de8d27c3a9572f7cd3ab3c74b6b38c3f94c (diff) |
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 2c9c8eb5ffc1 ("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: 81c94cdce6ba ("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
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions