[Bug 1860762] Re: Upgrade with zfs-on-root failures
Benjamin Drung
1860762 at bugs.launchpad.net
Fri Sep 20 12:39:43 UTC 2024
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.
See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases
We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1860762
Title:
Upgrade with zfs-on-root failures
Status in initramfs-tools package in Ubuntu:
Incomplete
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
I followed rlaager's howto for installing Ubuntu 18.04 LTS with ZFS
root (but used disco). I've also set up sanoid to perform periodic
snapshots of bpool (which stores /boot).
The upgrade from disco to eoan didn't go well:
[.. trimmed to fit in the comment box; more context in attachment ..]
/ubuntu at autosnap_2020-01-24_04:00:05_frequently
Found initrd image: initrd.img-5.3.0-29-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:00:05_frequently
Found linux image: vmlinuz-5.0.0-39-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Found initrd image: initrd.img-5.0.0-39-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Found linux image: vmlinuz-5.0.0-40-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Found initrd image: initrd.img-5.0.0-40-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Found linux image: vmlinuz-5.3.0-29-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Found initrd image: initrd.img-5.3.0-29-generic in rpool/ROOT/ubuntu at autosnap_2020-01-24_04:15:05_frequently
Adding boot menu entry for EFI firmware configuration
done
Processing triggers for dbus (1.12.14-1ubuntu2) ...
Processing triggers for initramfs-tools (0.133ubuntu10) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-29-generic
cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu
cryptsetup: WARNING: Couldn't determine root device
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.3.0-29-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Processing triggers for shim-signed (1.39+15+1533136590.3beb971-0ubuntu1) ...
Nothing to do.
Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-1build1) ...
Errors were encountered while processing:
initramfs-tools
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Setting up initramfs-tools (0.133ubuntu10) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.133ubuntu10) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-29-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/initramfs-tools.0.crash'
cryptsetup: ERROR: Couldn't resolve device rpool/ROOT/ubuntu
cryptsetup: WARNING: Couldn't determine root device
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.3.0-29-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
To continue please press [ENTER]
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: ubuntu-release-upgrader-core 1:19.10.15.4
ProcVersionSignature: Ubuntu 5.0.0-40.44-generic 5.0.21
Uname: Linux 5.0.0-40-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu8.3
Architecture: amd64
CrashDB: ubuntu
Date: Fri Jan 24 06:02:32 2020
PackageArchitecture: all
ProcEnviron:
TERM=rxvt-unicode-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to eoan on 2020-01-24 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz:
Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
Error executing command as another user: Not authorized
This incident has been reported.
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1860762/+subscriptions
More information about the foundations-bugs
mailing list