[Bug 1527727] [NEW] grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...

Launchpad Bug Tracker 1527727 at bugs.launchpad.net
Fri Dec 18 22:12:51 UTC 2015


You have been subscribed to a public bug by Chad Miller (cmiller):

update-grub runs /usr/sbin/grub-probe

/usr/sbin/grub-probe runs ["zpool", "status", poolname]

zpool responds with device names as used at (I think!) pool creation
time. Often, this is /dev/disk/by-id/... names, without the path.

grub-probe then parses the output, and takes the names of devices, and
if they do not start with a "/", it prepends "/dev/".

It then tests the existence of the path name of the device. it fails.

grub-probe then returns  something like

/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/ata-
ST31000333AS_99999999-part1'.

The actual path is of course /dev/disk/by-id/ST31000333AS_99999999-part1

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...
https://bugs.launchpad.net/bugs/1527727
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list