[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



Package: debian-installer
Severity: normal

Hi,

Using a daily build:

-rw-r--r-- 1 libvirt-qemu kvm  240M Sep 16 10:00 debian-testing-i386-netinst.iso

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.

After choosing that partitioning scheme, you are then asked to input the
encryption pass-phrase.  You are then shown the scheme layed out like with the
manual partitioner.

After you accept this, you are warned that the swap space is unsafe.  d-i
refuses to proceed at this point.  If you set the swap LV to "do not use", you
can proceed (without swap) and fix it later on.

I think this is incorrect and the swap space *is* safe, since it is sitting
on top of an encrypted partition.  However either way, the guided partitioner
should suggest a scheme which is safe.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: