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

Bug#885160: marked as done (initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps)



Your message dated Thu, 19 Jul 2018 01:50:43 +0100
with message-id <8e26cf0adcf98d0f8bc3b2cb6f5a7478a06bec78.camel@decadent.org.uk>
and subject line Re: initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps
has caused the Debian Bug report #885160,
regarding initramfs-tools-core: hooks/resume includes ephemeral encrypted swaps
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
885160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885160
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools-core
Version: 0.130
Severity: normal

Dear Maintainer,

The script /usr/share/initramfs-tools/hooks/resume will detect the UUID the
current swap device and include it in conf/conf.d/zz-resume-auto.

I do not use suspend/resume and my swap is encrypted using an ephemeral key,
defined in /etc/crypttab as:

aimlin-tempswap /dev/mapper/aimlin-swap /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256

It is a rather common and documented setup. Because of that, the swap device
will never have the same UUID.

That causes scripts/local-block to wait for a long time before giving up.

The problem can be fixed adding RESUME=none in
/etc/initramfs-tools/initramfs.conf, but it took me a while to find the
reason and fix it. At least some documentation or warning needs to be
included.

Regards,

-- 
  Nicolas George


-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initramfs-tools-core depends on:
ii  cpio         2.12+dfsg-6
ii  klibc-utils  2.0.4-9
ii  kmod         24-1
ii  udev         236-1

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.27.2-2

Versions of packages initramfs-tools-core suggests:
pn  bash-completion  <none>

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed:
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto


-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 0.131

This was fixed in the above version by:

  * [c198331] Skip dmsetup resume devices if they are randomly encrypted.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                         - Albert Camus

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: