Package: partman-auto-crypto Version: 2 (1) In autopartition-crypto there is a somewhat dangerous double use of "$dev"; it would possibly be better to use separate variables. be better to use separate variables. I also wonder what that loop actually does. Why is it needed to loop over $DEVICES when you have been passed a specific $dev? Would it be possible that some other disk already has a method "crypto" (from a previous installation maybe) and thus is used by mistake?
(2) Choosing guided partitioning again after setting up crypto and choosing regular LVM fails because encrypted partition is in use... (3) Choosing guided partitioning again after setting up crypto and choosing regular partitioning works, but encrypted volume and LVM stuff is still shown... For both (2) and (3) we should just make sure things are cleaned up properly as we are going to scratch the disk anyway. How can an encrypted partition be "released"? If that is too complicated, we should at least catch that situation in partman-auto and display an error message (like we did for LVM until very recently).
pgpkY0unGfdDI.pgp
Description: PGP signature