[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#642115: debian-installer: guided full disk encryption + LVM complains about insecure swap



Jon Dowland wrote:
> If you choose Guided / Encrypted / LVM as the partitioning type, the resulting
> scheme chosen by d-i basically looks like
> 
>     (physical partition) → (encrypted volume) → (LVM) → (swap)
> 
> Thus, the swap is encrypted, but LVM sits between them.

The code is this, and Max changed it most recently:

        # Accept e.g. swap on lvm on crypto
        if echo $device | grep -q "^/dev/mapper/"; then
                if dm_is_safe "$device"; then
                        continue
                fi
        fi

I wonder if perhaps the device for LVM does not look like
/dev/mapper/ anymore. Perhaps it's seeing /dev/<vgname>/<lvname> instead?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: