This bug was fixed in the package grub2-signed - 1.66.17
---
grub2-signed (1.66.17) xenial; urgency=medium
* Rebuild against grub2 2.02~beta2-36ubuntu3.17. (LP: #1527727)
-- Scott Moser Thu, 25 Jan 2018 10:05:01 -0500
--
You received this bug notification
This bug was fixed in the package grub2 - 2.02~beta2-36ubuntu3.17
---
grub2 (2.02~beta2-36ubuntu3.17) xenial; urgency=medium
* Signal to zpool that it should emit full names of constituent devices.
(LP: #1527727)
-- Scott Moser Wed, 24 Jan 2018 16:21:35
>From the install log you can see that we install grub2 at
>2.02~beta2-36ubuntu3.17.
..
Unpacking grub2-common (2.02~beta2-36ubuntu3.17)
..
'dpkg-reconfigure grub-pc' and 'grub-install /dev/vda' are run
And also:
run-parts: executing /etc/kernel/postinst.d/zz-update-grub
Hi.
I've confirmed this fix by using curtin's "vmtest" test harness.
I've applied the attached patch to curtin at 82622f129b.
The patch does:
a.) remove the work arounds we had in place to make zfs root work on xenial.
b.) enable proposed
Then I've run an install of a system that does a
** Attachment added: "first boot console log"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/5060822/+files/boot-serial.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Attachment added: "installation console log"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/5060821/+files/install-serial.log
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I've removed the verification-failed-xenial tag.
The problem reported in bug 1750732 may be related to a grub upgrade, but
surely is not related to this specific grub upgrade.
Please see the changes
Hello Chad, or anyone else affected,
Accepted grub2 into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-36ubuntu3.17 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
I've uploaded just now grub2 (2.02~beta2-36ubuntu3.17) and
grub2-signed (1.66.17) to the xenial SRU queue.
There are currently versions in xenial-proposed for these packages with
fixes for bug 722950 and bug 1708245.
Hopefully after those uploads clear xenial-proposed the fix for this bug will
I've marked this 'Fix Released' in xenial as Ubuntu's package in xenial
at 0.6.5.6-0ubuntu3 which has the fix at [1] as mentioned in comment 29.
Further, my experience with our zfs work in curtin indicates that it is
fixed.
--
** Merge proposal linked:
https://code.launchpad.net/~smoser/ubuntu/+source/grub2/+git/grub2/+merge/336577
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs
bumping for Jens' post...
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1687664
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix
Done - see 1687664.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
/dev/disk/...
To manage notifications about
Jens, as far as I know, you shouldn't have gotten an error. Please file
a new bug report, and include version numbers of 'grub2' and 'zfs-
linux'.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Just encountered the same problem with xenial:
grub-probe: error: failed to get canonical path of `/dev/HDD0p2'
See also http://savannah.gnu.org/bugs/?50896
IMHO "zpool status -P $pool" should be used, everything else is a
kludge, which will fail sooner or later.
** Bug watch added: GNU
Currently blocked on a grub SRU in xenial-proposed that isn't completely
verified.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with
cyphermox: Those uploads seem to have been dropped in favor of some
other changes, so this needs to be reuploaded
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs
Colin, with grub2 in yakkety being patched, we should be ready for
zfsutils-linux in yakkety to drop /lib/udev/rules.d/69-vdev.rules and
"Conflicts: grub2 << 2.02~beta2-36ubuntu5".
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
[My previous comment was incorrect. I had the wrong file in the wrong
package.]
Colin, with grub2 in yakkety being patched, we should be ready for zfs-
initramfs in yakkety to drop /lib/udev/rules.d/60-zpool.rules and
"Conflicts: grub2 << 2.02~beta2-36ubuntu5".
--
You received this bug
cyphermox: Any progress? It's been three months since your last comment
where it was close to ready.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: zfs-linux (Ubuntu Xenial)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
This doesn't really depend on any extra steps -- I've just uploaded
grub2 and grub2-signed to xenial-proposed queue, so as soon as it's
reviewed by a member of the SRU team it will be available in proposed.
>From there, we'll need people to test this carefully to make sure
nothing is broken and
I confirmed the package in yakkety works (on Xenial). That is, I can
successfully run update-grub without having the special-case
"/dev/disk"-style symlink in /dev.
Is the next step to upload this to xenial-proposed?
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Uploaded to yakkety:
grub2 (2.02~beta2-36ubuntu5) yakkety; urgency=medium
* debian/patches/zpool_full_device_name.patch: Signal to zpool that
it should emit full names of constituent devices.
** Changed in: grub2 (Ubuntu)
Status: In Progress => Fix Released
** Description changed:
** Changed in: zfs-linux (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev,
Thanks, I'm keenly aware of this and I'm working on it :-)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
Colin, 0.6.5.6 is out now:
https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.6.5.6
https://github.com/zfsonlinux/spl/releases/tag/spl-0.6.5.6
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Any idea when 0.6.5.6 will be out? I'll sync up with that as soon as it
lands as a Feature Freeze Exception.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes
It is my understanding that upgrading to a new upstream ZFS version
would require a FFe.
I have asked ZFS on Linux's release manager Ned Bass whether he plans to
tag a point release which includes the relevant commits soon.
--
You received this bug notification because you are a member of
Ned replied to my mail already, he plans to release 0.6.5.6 soon:
"I hadn't planned to, but it seems worthwhile to get this into 16.04 if it
fixes grub-probe.
I'll get a 0.6.5.6 release out in the next few days that includes these
patches."
--
You received this bug notification because you
Looks like the needed changes could go into the next release.
https://github.com/zfsonlinux/zfs/issues/4414
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes
Is this going to make the Xenial release?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
/dev/disk/...
To manage
Thanks, Richard. Okay, so first thing to change is grub.
After changing grub, at any time we can change zfs-linux to
simultaneously, drop the symlink udev rule, accept the environment
variable to change output, and Conflict on grub older than the one that
starts emitting the new environment
** Patch added: "zfs-1527727.debdiff"
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1527727/+attachment/4581527/+files/zfs-1527727.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
The upstream change was merged. I propose the following:
1) Update zfs-linux in Xenial with the patch:
https://github.com/zfsonlinux/zfs/commit/d2f3e292dccab23e47ade3c67677a10f353b9e85
2) Patch grub2 in Xenial to setenv("ZPOOL_VDEV_NAME_PATH", "YES")
3) Remove the udev rules from zfs-initramfs
That'd be great! I hope both ZoL and Ubuntu are able to pull that in in
time for 16.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix
This is related:
https://github.com/zfsonlinux/zfs/pull/4343
If that was merged, then GRUB could be patched to use -L and/or -p.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
Technically I'd consider it more of a workaround. The actual issue in GRUB
hasn't been resolved.
On 22 Feb 2016 12:16 p.m., "Colin Ian King" <1527...@bugs.launchpad.net>
wrote:
> Chad, can you check if comment #24 is correct, and if so, we can close
> this bug
>
> ** Changed in: zfs-linux
Chad, can you check if comment #24 is correct, and if so, we can close
this bug
** Changed in: zfs-linux (Ubuntu)
Assignee: Chad Miller (cmiller) => Colin Ian King (colin-king)
** Changed in: zfs-linux (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification
Chad, as of now Ubuntu's shipped ZFS comes with a custom udev rule to
generate the required links under /dev/, so this patch may not be
required.
See https://bugs.launchpad.net/ubuntu/+source/zfs-
initramfs/+bug/1530953/comments/28 for details.
--
You received this bug notification because you
** Patch added: "grub2 debdiff to add environment variable to suggest full
paths to zfs zpool command"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4572933/+files/grub2__2.02~beta2-36__2.02~beta2-36ubuntu1.compat-envvar.debdiff
--
You received this bug
Okay, so making grub ask for zfs details using a new, nonstandard
command-line parameter is bad because I can't depend on zfs version Foo
in grub, and I don't want to Conflict on older versions, and I don't
want zfs zpool status to fail on an unknown parameter.
So, this makes zfs zpool peek at
Okay, so making grub ask for zfs details using a new, nonstandard
command-line parameter is bad because I can't depend on zfs version Foo
in grub, and I don't want to Conflict on older versions, and I don't
want zfs zpool status to fail on an unknown parameter.
So, this makes zfs zpool peek at
** Also affects: zfs-linux (Ubuntu)
Importance: Undecided
Status: New
** Changed in: zfs-linux (Ubuntu)
Status: New => Confirmed
** Changed in: zfs-linux (Ubuntu)
Assignee: (unassigned) => Chad Miller (cmiller)
** Changed in: zfs-linux (Ubuntu)
Status: Confirmed =>
The idea behind the short name is readability and simplicity. The
recommended way to set up a zpool is to use partitions using device
labels that allow you to identify devices in the chassis. Adding the
full device name would add a lot of unnecessary clutter in the UI.
I kind of support the idea
Just prepending /dev to the device name is obviously wrong indeed, but
slapping random other prefixes onto it does not make it better really.
This hardcodes udev rules and kernel/driver behaviour, which is always
going to be brittle or incomplete -- people might set up their own
device namings, or
What it looks like without this patch:
Setting up grub-efi-amd64 (2.02~beta2-36) ...
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of
`/dev/ata-ST31000333AS_-part1'.
Failed: grub-install --target=x86_64-efi --force-extra-removable
WARNING:
dasjoe, that's not bad, but I don't know enough of "zdb" to propose it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev,
** Patch added: "diff against xenial, again"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4572495/+files/grub2__2.02~beta2-36__2.02~beta2-36ubuntu1.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
As the pool name is known we could run:
zdb -C poolname
to get the pool's configuration, which includes the path to all members of all
(available) vdevs.
To get the configuration of a known, exported pool we could use:
zdb -C -e poolname
This will work as long as the pool is not imported and its
** Bug watch removed: GNU Savannah Bug Tracker #46755
http://savannah.gnu.org/bugs/?46755
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices
** Patch added: "debdiff against ubuntu xenial"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4562558/+files/grub2__2.02~beta2-35ubuntu1__2.02~beta2-35ubuntu2.debdiff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
As noted on IRC, upstream doesn't want this patch. "Use libzfs! We can't
anticipate all device names, so we don't want to add any more. Or,
change zpool to emit full names."
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Have you sent this to grub upstream? Ideally we should sent it there for
inclusion, then we can upload the fix to Debian and sync it to Ubuntu.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
(See also https://bugs.launchpad.net/ubuntu/+source/zfs-
initramfs/+bug/1530953 )
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with
Chad, OK, sounds good to me. Do you want me to SRU this for wily? or
are we looking at just for Xenial?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all
Here's the short summary:
libzfs has a license that (most people agree) does not let grub link
against it.
Linking against it is assumed by grub upstream to be the right way. But
they have a fallback way that involves running a zfs utils command to
list its devices.
The devices the zfs utils
Colin, I don't think many people expect last release to be capable of
ZFS root installation, so I'm happy with ignoring it in 15.10.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
So, back to patch in #4.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
/dev/disk/...
To manage notifications
License for libzfs is incompatible with grub. Also, main vs universe.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
The correct fix for this is to link in libzfslinux-dev to get smarter
zfs polling, instead of parsing output of "zpool" command.
** Changed in: grub2 (Ubuntu)
Assignee: (unassigned) => Chad Miller (cmiller)
** Bug watch added: GNU Savannah Bug Tracker #43653
** Description changed:
update-grub runs /usr/sbin/grub-probe
- /usr/sbin/grub-probe runs ["zpool", "status", poolname]
+ Without libzfslinux support compiled in, /usr/sbin/grub-probe runs
+ ["zpool", "status", poolname] to find out ZFS info.
zpool responds with device names as used at
A better change. Commented, manage memory, changelog better.
** Patch added: "2.02~beta2-32ubuntu1 +1 debdiff"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1527727/+attachment/4540155/+files/grub2_2.02%7Ebeta2-32ubuntu1___2.02%7Ebeta2-32ubuntu2.debdiff
** Patch removed: "xenial
** Bug watch added: GNU Savannah Bug Tracker #46755
http://savannah.gnu.org/bugs/?46755
** Also affects: grub via
http://savannah.gnu.org/bugs/?46755
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Description changed:
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
** Description changed:
update-grub runs /usr/sbin/grub-probe
/usr/sbin/grub-probe runs ["zpool", "status", poolname]
zpool responds with device names as used at pool creation time. Often,
- this is /dev/disk/by-id/... names.
+ this is /dev/disk/by-id/... names, without the path.
Bug confirmed here:
https://github.com/zfsonlinux/grub/issues/5
and step 2 of
https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-14.04---
15.04-to-a-Native-ZFS-Root-Filesystem
which advocates some craziness with udev to copy /dev/disk/by-id/ names
to /dev/ .
--
You received this
Attached is debdiff. Important change is in grub-
core/osdep/unix/getroot.c, function
grub_util_find_root_devices_from_poolname
+--- a/grub-core/osdep/unix/getroot.c
b/grub-core/osdep/unix/getroot.c
+@@ -305,8 +305,18 @@ grub_util_find_root_devices_from_poolnam
+ }
+ if
Rationale for the order is that it should go in most unique to least
unique order. Use device model and serial , then uuid, then human names,
then assigned numbers.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: grub2 (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
70 matches
Mail list logo