[Bug 1848399] Re: update-grub fails if zpools with unsupported feature_flags exist
satmandu
1848399 at bugs.launchpad.net
Thu Oct 17 15:19:32 UTC 2019
FYI:
One can replace the "zpool import -f -a -o cachefile=none -N" line with this:
local pipe="/tmp/zpool_pipe"
no_import_pools=$(mkfifo ${pipe}; zpool import -f -a -o cachefile=none -N 2> ${pipe} | cut -d \' -f 2 ${pipe}; rm ${pipe})
If one wants a list of the pools which can not be imported.
To just discard the error though and keep update-grub from failing this
works fine too:
local discard_pool_import_err=""
discard_pool_import_err=$(zpool import -f -a -o cachefile=none -N 2>/dev/null || true)
Maybe that workaround could be added so update-grub at least doesn't
fail if a zpool which can't be imported is seen?
--
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 grub2 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/grub2/+bug/1848399/+subscriptions
More information about the foundations-bugs
mailing list