My original lxcapi_clone plan included a 'lxc.snapshots' configuration file entry which would get bumped in the original container by lxcapi_clone, and dec'd by lxc-destroy. However, overlayfs is the only backing store that needs this, and doing this unilaterally would be wrong since in the btrfs case the original doesn't need to stick around.
So let me think a bit more if there's any more elegant solution, and please anyone chime in if you have one. Otherwise I'll probably go with lxc.snapshots after all, and just bump it at lxc-clone -B overlayfs -s. ** Changed in: lxc (Ubuntu) Status: New => Triaged ** Changed in: lxc (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1212414 Title: lxc-destroy allows unsafe destruction of overlayfs sources To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1212414/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs