[Bug 1321335] Re: Build failure when ZFS support is enabled
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 13:07:23 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1321335
Title:
Build failure when ZFS support is enabled
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
I downloaded the GRUB2 sources from Launchpad, version 2.02~beta2-9
for "Trusty", in order to understand why grub-probe would not deal
correctly with ZFS pools.
It turns out that even the original source, without the Ubuntu
patches, fails to build when libzfs is present (and/or --enable-zfs is
used) because the zfs libraries are missing from the grub-ofpathname
utility's link command.
Consequently, I think that the grub-probe error I reported in the
linked question is due to missing ZFS support in the binary GRUB2
packages distributed via Launchpad.
After correcting Makefile.util.def, everything builds OK and grub-
probe correctly reports that ZFS pools are of type zfs .
A patchfile for the correction is attached, and an upstream bug report
created (https://savannah.gnu.org/bugs/index.php?42392).
I'm currently building an updated set of Ubuntu/Debian packages; I'll
modify this ticket (or file a new one) if there are additional issues
booting off a ZFS root.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1321335/+subscriptions
More information about the foundations-bugs
mailing list