"zpool import -f -a -o cachefile=none -N" is throwing an error when a
zpool isn't importable.
Changing this line:
zpool import -f -a -o cachefile=none -N 2>/dev/null
to
zpool import -f -a -o cachefile=none -N 2>/dev/null || true
Allows update-grub to succeed.
There's still an error, but it doesn't appear to be fatal.
Worth noting that the function import_pools has the comment "We have to
ignore zpool import output, as potentially multiple / will be available,
and we need to autodetect all zpools this way with their real
mountpoints."
So to actually do that one needs to ignore the error from zpool import.
(I don't see any zpool import flags which would avoid throwing that
error.)
This will happen if any zpools are on the system with zfs feature flags
not supported by the zfs version in the installer image.
** Summary changed:
- experimental zfs install fails w/ grub error
+ update-grub fails if zpools with unsupported feature_flags exist
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848399
Title:
update-grub fails if zpools with unsupported feature_flags exist
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1848399/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs