Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eos-test-mode: Remount eos-live overlays in some services' namespace
Some systemd services start before execute eos-test-mode. And, if they mount the real storage blocks to paths under /sysroot in their namespace directly, then the modification under those paths will be kept, even "test mode" is finished. Therefore, the filesystem is not fresh new for the real end-user. This is caused by ostree making the /sysroot mount private. This commit remounts the eos-live overlays by restarting the systemd services which mount a real storage block to paths under /systemd in their namespace. https://phabricator.endlessm.com/T35625
- Loading branch information