This is not a LXD issue.
/snap is a mount because snapd makes it so to avoid issues with mount
propagation.
On systems where / isn't MS_SHARED, snapd does the equivalent of:
- mount -o bind /snap /snap
- mount --make-rshared /snap
If snapd removal then fails, that's because snapd or the packaging
scripts are missing logic to undo that bind-mount when it is present.
Booting a regular system or VM without / being rshared should yield the
exact same behavior.
** Changed in: lxd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903967
Title:
Can't purge snapd: rm: cannot remove '/snap': Device or resource busy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1903967/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs