When looking an the setup-storage man page you config seems to be
reasonable. But I don't know if swap on lvm partitions with crypt is
supported.

Does it work if you use a plain partition for swap without lvm.

>>>>> On Thu, 22 Aug 2024 15:34:56 +0100, Stephen Quinney via linux-fai 
>>>>> <linux-fai@uni-koeln.de> said:

    > I'm wondering if it's possible to create an lvm volume to use as
    > encrypted tmp or swap? I'm getting this error:

    > Cannot satisfy pre-depends for cryptsetup --key-file=/dev/urandom create 
crypt_dev_mapper_vg0-swap /dev/mapper/vg0-swap: exist_/dev/mapper/vg0-swap -- 
system left untouched.

-- 
regards Thomas

Antwort per Email an