[pkg-cryptsetup-devel] Bug#784881: Bug#784881: cryptsetup: WARNING: failed to detect canonical device

Paride Legovini pl at ninthfloor.org
Fri Oct 7 08:15:55 UTC 2016


OK, I think the problem happens with with btrfs specifically. In
get_fs_devices() we have this loop (cryptroot:32):

https://paste.debian.net/858017/

In line 5:

$(canonical_device "$device" --no-simplify) resolves the UUID entry to
/dev/sda2, then btrfs is asked to show the list of devices relevant for
the filesystem contained in that device. (btrfs filesystems can span on
several devices, like zfs.) This returns again: /dev/sda2. Then the
canonical_device for /dev/sda2 is looked for, but this fails, as
canonical_device() wants an UUID or LABEL in order to fully work, unless
--no-simplify is given.

Perhaps we should add a --no-simplify to that loop?

Paride


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20161007/2d9c5b3d/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list