This is still reproducible at least on Focal and Jammy. The link to the
(not really) Fix Released upstream bug is dead.
** Changed in: snapd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to
** Merge proposal linked:
https://code.launchpad.net/~paride/autopkgtest/+git/autopkgtest/+merge/434809
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989603
Title:
Can't purge
** Changed in: lxd
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989603
Title:
Can't purge snapd in LXD: rm: cannot remove
** No longer affects: lxd (Ubuntu)
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989603
Title:
Can't purge snapd in LXD: rm: cannot remove
This was retriaged by LXD tream as a snapd bug, see:
https://github.com/lxc/lxd-pkg-snap/issues/106
and in particular
https://github.com/lxc/lxd-pkg-snap/issues/106#issuecomment-1252549005
** Also affects: snapd (Ubuntu)
Importance: Undecided
Status: New
** Bug watch added:
** Merge proposal linked:
https://code.launchpad.net/~paride/autopkgtest/+git/autopkgtest/+merge/429901
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989603
Title:
Can't purge
** Also affects: lxd
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1989603
Title:
Can't purge snapd in LXD: rm: cannot remove
I tried purging lxd (snap remove --purge lxd) and it worked just fine,
and after that an `apt purge snapd` also worked, so perhaps the umount
of .../lxcfs/{proc,sys} is racy?
Uninstalling and reinstalling lxd also works:
- [jump into *fresh* kinetic lxd container]
- snap remove lxd
- snap
It looks like the LXD snap has mounted "proc" and "sys" over
/var/snap/lxd/common/var/lib/lxcfs/{proc,sys}/ but it's not unmounting
them.
In the "remove" hook, the LXD snap should unmount any mounted
filesystems; not doing so can have disastrous effects if there are also
user partitions mounted
9 matches
Mail list logo