diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-06-10 00:53:59 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2020-06-13 00:13:11 +0100 |
commit | 91a98487752b21269dd459623a29c0d48bd7bced (patch) | |
tree | c85aafe031d96dfffd1cdf01543755ba73dbe035 /libmodprobe/libmodprobe_test.cpp | |
parent | 7cc98e212b9e2bba4fc9c14b42995d3fd5fcbbd1 (diff) |
Reboot sequence: Unmount active apexes before unmounting /data
Having mounted apexes with loop back devices backing files on /data
partition will prevent clean unmount of it. Unmounting them and tearing
down loop devices should minimize the risk of that.
Note that it won't fix the issue completely, as there are a few (~2-3)
processes that keep restarting even after SIGKILL is sent. Which means
that they can still hold references to apexes on /data partition. But
in practice probability of this is quite low.
Test: adb reboot
Test: put tzdata apex in /data/apex/active && adb reboot
Bug: 158152940
Change-Id: I4624567b3d0f304dba4c6e37b77abd89e57411de
Diffstat (limited to 'libmodprobe/libmodprobe_test.cpp')
0 files changed, 0 insertions, 0 deletions