The last few debian releases (buster and bullseye at least) configuring
encrypted swap has been broken for me. I don't know if it's the same as
what the user in #792456 is seeing, but likely.
I have most recently tested it in Bookworm RC1 and here is what I did:
* run by hand partitioning
* create 3 partitions: boot, swap, lvm
* configure encryption: enable encryption for swap and lvm partitions
* configure swap to use serpent and random passphrase
* configure lvm partition to use serpent and key
* finish
* mark lvm encrypted partition to be used for lvm, configure lvm, setup
root and var partition
* configure boot partition to be ext4 mounted at /boot
* finish partitioning
* receive error about failure to setup swap
Sorry for the short report, I will try to redo it and capture logs, but
I wanted to report this ASAP.
My workaround has been to allocate the partition but mark it do not use
and then finish the setup by hand after install.
Thanks,
--
Matt Taggart
m...@lackof.org