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

Bug#995108: d-i: partman-crypto: plain dm-crypt device management issues



> 1) Partman does not add option "plain" for non LUKS devices in crypttab.
> This causes warnings at startup and when running update-initramfs:

I also experienced these warnings, but adding "plain" to crypttab didn't
help to suppress them, at least in my case.

The correct solution seems: tell the initrd not to try using the
encrypted swap partition for resuming from suspend-to-disk:

- Set RESUME=none in /etc/initramfs-tools/conf.d/resume
- Update the initrd ("update-initramfs -u", or your favorite way)

Currently the debian-installer sets RESUME to the encrypted swap
partition, causing the warnings.

I think it should never do that for encrypted swap partitions, which
can't be used for resuming, given the on-time random key used for them,
isn't it?

Cri


Reply to: