Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #870866

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

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps
Date 2017-12-25 14:00 +0100
Message-ID <v0Awi-3Op-9@gated-at.bofh.it> (permalink)
References <v0xI5-1Zc-1@gated-at.bofh.it> <v0yE9-2zp-3@gated-at.bofh.it> <v0xI5-1Zc-1@gated-at.bofh.it> <v0yE9-2zp-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps Nicolas George <george@nsup.org> - 2017-12-25 11:00 +0100
  Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps Ben Hutchings <ben@decadent.org.uk> - 2017-12-25 12:00 +0100
    Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps Nicolas George <george@nsup.org> - 2017-12-25 14:00 +0100
      Bug#885160: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps Ben Hutchings <ben@decadent.org.uk> - 2017-12-25 22:20 +0100

csiph-web