On Thu, 06 Oct 2016 at 22:12:28 +0200, Guilhem Moulin wrote:
> Looking at the hook script's diff since 1.7.0-2 it's unclear to me
> what now causes the warning to appear.
For the record, this is because up to 2:1.7.0-1 get_fs_devices() used to
prefix the list of underlying devices with a space "
On Fri, 07 Oct 2016 at 11:55:35 +0200, Paride Legovini wrote:
> but I'm not sure of what happens when several devices contain a
> filesystem with the same UUID. I guess this is the reason for using
> devids instead of the uuid. In the case of multiple devices the output
> of btrfs filesystem show
On 2016-10-07 11:30, Guilhem Moulin wrote:
>> Perhaps we should add a --no-simplify to that loop?
>
> Hmm but we'll still want unambiguous crypttab(5) lookups. It's
> unfortunate that `btrfs filesystem` lists /dev/sda2 while the FS
> actually uses device UUIDs internally. I think we need to
On Fri, 07 Oct 2016 at 10:15:55 +0200, Paride Legovini wrote:
> $(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
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
On 2016-10-06 22:12, Guilhem Moulin wrote:
> On Thu, 06 Oct 2016 at 19:42:55 +0200, Paride Legovini wrote:
>> cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
>
> For the record, the hook script gives this warning as it doesn't know
> whether the device is to be unlocked at
On Thu, 06 Oct 2016 at 19:42:55 +0200, Paride Legovini wrote:
> cryptsetup: WARNING: failed to detect canonical device of /dev/sda2
For the record, the hook script gives this warning as it doesn't know
whether the device is to be unlocked at initramfs stage or not.
(Depending on what's on the
7 matches
Mail list logo