[Bug 1741563] Re: initramfs compression changed in bionic for shipped kernel

Steve Langasek steve.langasek at canonical.com
Fri Jan 5 21:24:00 UTC 2018


Doesn't sound like an initramfs-tools bug to me.  what is compressing it
with the non-default lzma during the build, and why is that
configuration no longer in place after boot?

** Changed in: initramfs-tools (Ubuntu)
       Status: New => 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/1741563

Title:
  initramfs compression changed in bionic for shipped kernel

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  The shipped initrd doesn't match the compression that you'd get if you
  update the initrd on bionic:

  # A clean bionic cloud-image
  $ file /boot/initrd.img-4.13.0-17-generic
  /boot/initrd.img-4.13.0-17-generic: LZMA compressed data, streamed

  # Update the initramfs (notice the deprecation warnings too)
  $ sudo update-initramfs -k all -u
  update-initramfs: Generating /boot/initrd.img-4.13.0-17-generic
  WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.

  # Now initramfs is gzip compressed when packaged initramfs was LZMA
  $ file /boot/initrd.img-4.13.0-17-generic
  /boot/initrd.img-4.13.0-17-generic: gzip compressed data, last modified: Fri Jan 5 20:54:07 2018, from Unix

  $ apt-cache policy initramfs-tools
  initramfs-tools:
    Installed: 0.125ubuntu13
    Candidate: 0.125ubuntu13
    Version table:
   *** 0.125ubuntu13 500
          500 http://us-west-2.ec2.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
          100 /var/lib/dpkg/status

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



More information about the foundations-bugs mailing list