Package: grub-installer
Version: 1.212
Severity: important
Tags: patch

Dear maintainers,

the command

  grub-probe -t device $1

in findfs (where $1 is /target or /target/boot) returns all the devices of a ZFS pool if it has been created from more than one device, e.g.,

  grub-probe -t device /target/boot

may return the following two lines:

/dev/sda2
/dev/sdb2

The result of findfs is then stored in $rootfs and $bootfs respectively, but subsequent calls (to mapdevfs for instance) expect these variables to refer to a single device only and fail otherwise.

Letting findfs always return only the first device will do.

I will send a patch as a separate e-mail for your convenience.

Thank you in advance!

Best regards,

Thomas Uhle

Reply via email to