Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND" am: 008576080e
am: c37d85953e
Change-Id: I3c71332e0755ff980cd052d182d251b13f6b440e
This commit is contained in:
commit
655d6d5451
1 changed files with 3 additions and 2 deletions
|
|
@ -318,8 +318,9 @@ on post-fs
|
||||||
start hwservicemanager
|
start hwservicemanager
|
||||||
start vndservicemanager
|
start vndservicemanager
|
||||||
|
|
||||||
# once everything is setup, no need to modify /
|
# Once everything is setup, no need to modify /.
|
||||||
mount rootfs rootfs / ro remount
|
# The bind+ro combination avoids modifying any other mount flags.
|
||||||
|
mount rootfs rootfs / remount bind ro
|
||||||
# Mount shared so changes propagate into child namespaces
|
# Mount shared so changes propagate into child namespaces
|
||||||
mount rootfs rootfs / shared rec
|
mount rootfs rootfs / shared rec
|
||||||
# Mount default storage into root namespace
|
# Mount default storage into root namespace
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue