[Bug 1848399] Re: experimental zfs install fails w/ grub error

satmandu 1848399 at bugs.launchpad.net
Thu Oct 17 14:07:15 UTC 2019


"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
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1848399

Title:
  update-grub fails if zpools with unsupported feature_flags exist

Status in grub package in Ubuntu:
  Incomplete
Status in ubiquity package in Ubuntu:
  Invalid
Status in zsys package in Ubuntu:
  Invalid

Bug description:
  install from Oct 14 live installer failed.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: ubiquity 19.10.20
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CasperVersion: 1.425
  Date: Wed Oct 16 20:03:30 2019
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed quiet splash ---
  LiveMediaBuild: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191014)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1848399/+subscriptions



More information about the foundations-bugs mailing list