[pkg-cryptsetup-devel] Bug#554506: Bug#554506: unable to find root volume
Jonas Meurer
jonas at freesources.org
Wed Jul 7 22:58:02 UTC 2010
hey Harald,
On 28/06/2010 Harald Braumann wrote:
> This bug also hits, if a source device name of the form /dev/<vg>/<lv> is used
> in /etc/crypttab. The hook script fails to properly map this to
> /dev/mapper/<vg>-<lv>
>
> The reason is, that dmsetup changed the way links are set up in /dev. Formerly,
> files in /dev/<vg>/ (or /dev/disk/by-uuid) where links to device files in
> /dev/mapper/. Now they are links to /dev/dm-*.
>
> The solution is simple, and actually already there in the function
> `canonical_device'. I've just copied that part to `get_device_opts'. Patch
> appended.
cryptsetup svn trunk should have fixed this bug in a different way.
canonical_device is now invoked both in get_root_device() and
get_resume_devices(). could you verify that the new package fixes this
bug for you?
you can find preliminary packages at
http://people.debian.org/~mejo/cryptsetup/
please give this package a try and report back whether this fixes the
bug for you.
greetings,
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100708/634f9394/attachment.pgp>
More information about the pkg-cryptsetup-devel
mailing list