[Bug 1880170] [NEW] SRU: Revert of initramfs package removal in KVM image

Launchpad Bug Tracker 1880170 at bugs.launchpad.net
Fri May 22 20:26:18 UTC 2020


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

No packages marked for auto-removal should be present in a published
cloud image.

The current kvm binary hook in livecd-rootfs removes the packages
`initramfs-tools` and `busybox-initramfs`. This results in many packages
[1] being marked for auto-removal. These packages are still required in
the image and should not be marked for auto-removal.

The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.

This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.

[Impact]

 * No packages marked for auto-removal. This is a requirement for all
public cloud images.

[Test Case]

 * Perform livefs build with project ubuntu-base
 * Boot *-disk-kvm.img using kvm
   * Confirm it boots
   * Confirm there is no boot speed regression
   * Confirm that running `sudo apt-get autoremove` results in no packages being removed
   * Verify that `GRUB_FORCE_PARTUUID` is set in /etc/default/grub.d/40-force-partuuid.cfg.

[Regression Potential]

 * Boot speed regression
 * Unable to boot KVM image

[Other Info]

 * Original bug filed against cloud-images @ https://bugs.launchpad.net/cloud-images/+bug/1875400
 * MP already merged in to ubuntu/master @ https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/384105
 * livecd-rootfs version 2.667 in groovy was uploaded with this patch and was verified


[1] apport apport-symptoms at bc bcache-tools bolt btrfs-progs byobu cryptsetup cryptsetup-bin cryptsetup-run dmeventd ethtool finalrd
  fonts-ubuntu-console fwupd fwupd-signed git git-man htop initramfs-tools-bin klibc-utils kpartx landscape-common libaio1 libarchive13
  libcurl3-gnutls libdevmapper-event1.02.1 liberror-perl libevent-2.1-7 libfl2 libfwupd2 libfwupdplugin1 libgcab-1.0-0 libgpgme11
  libgudev-1.0-0 libgusb2 libisns0 libjson-glib-1.0-0 libjson-glib-1.0-common libklibc liblvm2cmd2.03 libmspack0 libreadline5
  libsgutils2-2 libsmbios-c2 libtss2-esys0 liburcu6 libutempter0 libxmlb1 libxmlsec1 libxmlsec1-openssl libxslt1.1 lvm2 lxd-agent-loader
  lz4 mdadm open-iscsi open-vm-tools patch pollinate python3-apport python3-automat python3-click python3-colorama python3-constantly
  python3-debconf python3-debian python3-hamcrest python3-hyperlink python3-incremental python3-newt python3-problem-report python3-pyasn1
  python3-pyasn1-modules python3-service-identity python3-systemd python3-twisted python3-twisted-bin python3-zope.interface run-one
  screen sg3-utils sosreport thin-provisioning-tools tmux tpm-udev update-notifier-common xfsprogs zerofree

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
SRU: Revert of initramfs package removal in KVM image
https://bugs.launchpad.net/bugs/1880170
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list