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

snapcraft/hooks/remove: also unmount /var/snap/lxd/shmounts (5.21-edge) #377

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

tomponline
Copy link
Member

It may happen that the shmounts setup failed for whatever reason, in which case the fallback path mounts a tmpfs at /var/snap/lxd/shmounts. Make sure to clean it up during remove if needed.

Signed-off-by: Maciej Borzecki maciej.borzecki@canonical.com
(cherry picked from commit 3fdcce0)

It may happen that the shmounts setup failed for whatever reason, in which case
the fallback path mounts a tmpfs at /var/snap/lxd/shmounts. Make sure to clean
it up during remove if needed.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
(cherry picked from commit 3fdcce0)
@tomponline tomponline self-assigned this Mar 15, 2024
@tomponline tomponline changed the title snapcraft/hooks/remove: also unmount /var/snap/lxd/shmounts snapcraft/hooks/remove: also unmount /var/snap/lxd/shmounts (5.21-edge) Mar 15, 2024
@tomponline tomponline merged commit 41649cc into canonical:5.21-edge Mar 15, 2024
4 of 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
Development

Successfully merging this pull request may close these issues.

3 participants