Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shmounts: terminate the forked off mount namespace capture helper
Make sure to terminate the forked off mount namespace capture helper, otherwise the child will continue execution of the remaining setup code and thus cause a race with the parent which occasionally manifests itself with the /var/snap/lxd/common/shmounts being missing from the parennt's mount namespace after it has switched back to the moutn ns of pid 1. Signed-off-by: Maciej Borzecki <[email protected]> (cherry picked from commit ab8c018)
- Loading branch information