The issues about re-installing with partman-auto-lvm on top of stale lvm metadata on disk is solved with a patch in [1]
My take on solving "Should allow de-allocation of encrypted volumes" bug 381892 is actually resolving the TODO item in partman-crypto: "Understand and add undo.d scripts if required" My understanding is that all cryptsetup dm-devices should be closed. That implies deactivating any dm volumes that sit on top of cryptsetup device (e.g. lvm) as well as unlocking the underlying physical volume(s). I am not sure if this should be done before or after 30partman - i.e. parted UNDO command. Naturally this will also imply that patch from bug 451535 [2] should be applied, which allows activating existing cryptsetup volumes. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687160#28 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451535#42 -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CANBHLUjCpt+7o23Pi=v7mopdgn6czysnm-pv-tj_mpcdfhg...@mail.gmail.com