[pkg-cryptsetup-devel] Bug#641662: cryptsetup: assumes root is crypt
Jonas Meurer
jonas at freesources.org
Sat Oct 11 12:14:38 UTC 2014
Hey Matt,
On Wed, 14 Sep 2011 17:25:57 -0700 Matt Taggart <taggart at debian.org> wrote:
> Package: cryptsetup
> Version: 2:1.1.3-4squeeze2
>
> I have several machines which I have upgraded from lenny to squeeze where I
> am seeing the following warnings
>
> cryptsetup: WARNING: failed to detect canonical device of /dev/md0
> cryptsetup: WARNING: could not determine root device from /etc/fstab
>
> I am using cryptsetup on these machines, but the root is NOT using
> cryptsetup. Here are my fstab and crypttab
>
> fstab:
> /dev/md0 / ext3 defaults,errors=remount-ro 0 1
> /dev/mapper/swap1 none swap sw 0 0
> /dev/mapper/swap2 none swap sw 0 0
>
> crypttab:
> swap1 /dev/cciss/c0d0p2 /dev/urandom cipher=serpent-xts-plain,size=256,swap
> swap2 /dev/cciss/c0d1p2 /dev/urandom cipher=serpent-xts-plain,size=256,swap
>
> It looks like the canonical_device function assumes that a device is using
> cryptsetup and tries a few ways to figure out the actual device and if it
> can't it gives up and gives these errors.
Do you still discover this bug with the most recent cryptsetup packages
from Debian Jessie? The initramfs hook script has changed a lot since
2011 and I'm unable to reproduce this bug.
Kind regards,
jonas
More information about the pkg-cryptsetup-devel
mailing list