On Mon, 2017-12-25 at 12:57 +0100, Nicolas George wrote: > 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. OK, then I'll see if I can replicate whatever test it's doing. Ben. -- Ben Hutchings The world is coming to an end. Please log off.
Attachment:
signature.asc
Description: This is a digitally signed message part