[pkg-cryptsetup-devel] Bug#671056: Looks like a dup of #641662
Ralf Jung
post at ralfj.de
Wed Jul 4 19:02:46 UTC 2012
Hi,
I just looked a bit into this issue:
The error is printed by /usr/share/initramfs-tools/hooks and the problem is
that cryptsetup sees in /etc/uswsusp.conf that /dev/sda2 is my resume device -
which is okay, that's my swap partition - and then tries to get the "canonical
name" (whatever that is) of it.
For the root device, this somehow works because the device is specified by
UUID, and then the "support crypttab UUID/LABEL entries" part of
canonical_device kicks in - however, the name comes from the fstab, not the
crypttab (so this might actually be a bug?). You seem to have a /dev/...
device in your fstab for root, therefore you see this error.
Maybe some cryptsetup maintainer could shed some light on how this script in
general and canonical_device specifically are supposed to behave when root
and/or swap are not meant to be encrypted? Currently I can't do any more
analysis or even suggest patches.
Kind regards,
Ralf
On Wednesday 04 July 2012 20:07:40 Bart Massey wrote:
> Looks like a dup of 641662. Wish someone would fix this; it's
> annoying, and should be easy.
More information about the pkg-cryptsetup-devel
mailing list