So I don't think the LXD postrm should ever attempt to destroy ZFS storage pools given how likely this is to go horribly wrong.
That's why the rm in postrm has a flag passed to not wipe things on other mounts. We should however || true that rm so that when such errors are displayed, it doesn't actually break removal. We should probably just show a warning message to the user then, informing them that we couldn't clean everything up and that they should look into removing what's left. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629992 Title: apt-get --purge remove fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629992/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs