[SRU] Release "minimized round 2" changes to Xenial

Bug #1731492 reported by Chris Glass
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Minimized images have their disk footprint further reduced with these
   changes.
 * Using minimal images can save bandwidth and system resources and we
   would like to make those improvements available for Xenial users,
   especially since most if not all of our minimized images users care
   mostly about LTS releases.

[Test Case]

 * No new autopkgtest was added, however, an autopkgtest (minimized)
   was previously added to test building minimized images. The test logs show
   the generated image sizes for ubuntu-cpc images with and without
   minimization and the minimized images have to be smaller.

[Regression Potential]

 * If images rely on the presence of a populated /var/cache/apt, that
   functionality could now break (no such image is known). This is believed
   to be a functionally "no-op" change.
 * If images rely on /var/cache/debconf/*-old or /var/lib/dpkg/*-old files to
   be present, that functionality cloud now break (no such image is known).
   This is believed to be a functionally "no-op" change.
 * The package changes should not affect images which are not minimized. The
   minimized images in general may not boot on some systems. This is not a
   regression however, this branch does not make the situation better or
   worse in this regard.

[Other Info]

(none)

Related branches

Chris Glass (tribaal)
description: updated
Chris Glass (tribaal)
description: updated
Chris Glass (tribaal)
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

"Regression potential" section is inaccurate, there are changes here that remove files from all images and a change which should be a functional no-op that is applied to all image builds. We should have some analysis here of what a probable regression from these changes would look like.

Revision history for this message
Chris Glass (tribaal) wrote :

Regression potential section updated.

description: updated
description: updated
Revision history for this message
Chris Glass (tribaal) wrote :

This was fixed in bionic/devel in livecd-rootfs 2.482

Revision history for this message
Brian Murray (brian-murray) wrote :

Here's a link to proof that it was actually fixed in 2.482 rather than somebody just saying it was. ;-)

https://launchpad.net/ubuntu/+source/livecd-rootfs/2.482

Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released
Changed in livecd-rootfs (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.23 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Steve Langasek (vorlon) wrote :

Hello Chris, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.24 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Chris Glass (tribaal) wrote :

Built a minimized image with https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.24 and could confirm that the changes are indeed present and that the image boots and behaves normally.

Marking verified.

tags: added: verification-done-xenial
removed: verification-needed verification-needed-xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.408.24

---------------
livecd-rootfs (2.408.24) xenial; urgency=medium

  * For the IMAGEFORMAT=none parts to work for ubuntu-image classic builds, we
    need to make sure IMAGEFORMAT is preserved and not overwritten if defined.
    Backporting from artful.

livecd-rootfs (2.408.23) xenial; urgency=medium

  [ Gary Wang ]
  * Add the IMAGEFORMAT=none to support generating a single rootfs
    (LP: #1730642)

  [ Christopher Glass (Ubuntu) ]
  * Backport "minimized round 2" changes from trunk to Xenial (LP: #1731492)
  * Remove apt, debconf, dpkg cruft files from /var/cache and /var/lib in
    all our livefses.
  * Pass --cache false to lb config; otherwise we copy around caches of
    .debs that are never used properly, and which prevent us from emptying
    /var/cache/apt in images.
  * When building minimized cloud images, remove various packages that we
    don't want installed by default. Some are tools that aren't needed for
    non-interactive use; some are libraries whose reverse-dependencies
    will have already been removed; and one, open-vm-tools, should only be
    included in images that are targeted to VMWare (which is not the case
    for any of the current minimal images), rather than being included
    directly in the cloud-image seed.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 21 Nov 2017 17:01:14 +0100

Changed in livecd-rootfs (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.