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

Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps



Ben Hutchings (2017-12-25):
> You should see a message about this every time update-initramfs runs.

Indeed. But I never run update-initramfs, and I suspect many people do
the same: I just let apt-get dist-upgrade run it for me, with the output
lost in many lines. I probably should read them more carefully, but who
does?

> If you can suggest a reliable way to identify such swap partitions,
> then we may be able to exclude them.

~ $ sudo update-initramfs -k $(uname -r) -u
update-initramfs: Generating /boot/initrd.img-4.13.0-1-amd64
cryptsetup: WARNING: target aimlin-tempswap has a random key, skipped
I: The initramfs will attempt to resume from /dev/dm-6
I: (UUID=8bebd9d6-f71b-4447-a523-73f550cd9023)
I: Set the RESUME variable to override this.

Apparently the test already exists in hooks/cryptroot provided by
cryptsetup.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: Digital signature


Reply to: