forked from canonical/lxd-pkg-snap
-
Notifications
You must be signed in to change notification settings - Fork 0
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]>
- Loading branch information
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters