Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shmounts: terminate the forked off mount namespace capture helper (latest-candidate) #386

Merged
merged 1 commit into from Mar 18, 2024

Conversation

tomponline
Copy link
Member

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 maciej.borzecki@canonical.com
(cherry picked from commit ab8c018)

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 <maciej.borzecki@canonical.com>
(cherry picked from commit ab8c018)
@tomponline tomponline merged commit e6a4bf2 into canonical:latest-candidate Mar 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants