[Bug 2027857] [NEW] package initramfs-tools 0.142ubuntu2 failed to install/upgrade due to boot zpool space consumption (snapshots)

Steve Kirk 2027857 at bugs.launchpad.net
Sat Jul 15 14:45:26 UTC 2023


Public bug reported:

Using ZFS on Ubuntu, configured with the default options for bpool in
the installer for (I think 22.04) the kernel upgrade process often seems
to fail building initrd due to running out of space. This is due to zfs
snapshots.

I'm not sure this is a bug in itself, however I think it is a problem
that the process fails quite regularly with this configuration which
does seem like something that could be handled better to avoid this
situation.

I do think the installer should create a larger bpool and I would do
that manually if I re-installed. Only allocating ~2G given the size of
modern drives seems much too small to me.

No LSB modules are available.
Description:	Ubuntu 23.04
Release:	23.04

initramfs-tools:
  Installed: 0.142ubuntu2
  Candidate: 0.142ubuntu2
  Version table:
 *** 0.142ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu lunar/main amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu lunar/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: initramfs-tools 0.142ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
Uname: Linux 6.2.0-24-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sat Jul 15 15:20:21 2023
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-12-23 (204 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.21ubuntu1
 apt  2.6.0
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.142ubuntu2 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to lunar on 2023-06-24 (21 days ago)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package lunar

-- 
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/2027857

Title:
  package initramfs-tools 0.142ubuntu2 failed to install/upgrade due to
  boot zpool space consumption (snapshots)

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  Using ZFS on Ubuntu, configured with the default options for bpool in
  the installer for (I think 22.04) the kernel upgrade process often
  seems to fail building initrd due to running out of space. This is due
  to zfs snapshots.

  I'm not sure this is a bug in itself, however I think it is a problem
  that the process fails quite regularly with this configuration which
  does seem like something that could be handled better to avoid this
  situation.

  I do think the installer should create a larger bpool and I would do
  that manually if I re-installed. Only allocating ~2G given the size of
  modern drives seems much too small to me.

  No LSB modules are available.
  Description:	Ubuntu 23.04
  Release:	23.04

  initramfs-tools:
    Installed: 0.142ubuntu2
    Candidate: 0.142ubuntu2
    Version table:
   *** 0.142ubuntu2 500
          500 http://gb.archive.ubuntu.com/ubuntu lunar/main amd64 Packages
          500 http://gb.archive.ubuntu.com/ubuntu lunar/main i386 Packages
          100 /var/lib/dpkg/status

  ProblemType: Package
  DistroRelease: Ubuntu 23.04
  Package: initramfs-tools 0.142ubuntu2
  ProcVersionSignature: Ubuntu 6.2.0-24.24-generic 6.2.12
  Uname: Linux 6.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sat Jul 15 15:20:21 2023
  ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2022-12-23 (204 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.21ubuntu1
   apt  2.6.0
  SourcePackage: initramfs-tools
  Title: package initramfs-tools 0.142ubuntu2 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to lunar on 2023-06-24 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2027857/+subscriptions




More information about the foundations-bugs mailing list