clone 385629 -1 retitle -1 Swap check fails for swap-on-LVM-on-crypto thanks
Hi James, On Mon, Oct 09, 2006 at 11:59:55PM +0100, James Westby wrote: > I am playing around with the installer and I believe I have hit this > problem. > > If I select automatically set up LVM and crypto I get a good setup, > but if I then go to Configure encrypted partitions I am told I can't > as swap is not encrypted. > > The swap is an LVM partition on a dm-crypt device, so I think > partman-crypto's detection of encrypted swap in this case is not > working. Ah, good catch. Our swap check takes the swap device and checks if it's an encrypted loop (using losetup) or dm device (dmsetup). In case of swap-on-LVM-on-crypto, the check only sees swap-on-LVM and so concludes that the setup is unsafe. > [Also it seems that I cannot delete an encrypted partition, even if I > get to free space on it, it still says "In use for ...", is there a way > to do this? It was annoying having to restart the installer every time I > wanted to try something different. Could you point me to the apprpriate > package for this, I'm not sure it is partman-crypto] Deleting encrypted partitions has not been implemented. The relevant package is partman-crypto. cheers, Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]