[Bug 1892369] Re: Impossible to skip integrity test for ubuntu-server 20.04.1 iso

Launchpad Bug Tracker 1892369 at bugs.launchpad.net
Wed Aug 31 05:01:46 UTC 2022


This bug was fixed in the package casper - 1.445.3

---------------
casper (1.445.3) focal; urgency=medium

  * casper-md5check: correctly detect fsck.mode=skip if last
    in /proc/cmdline, and add a hint for users (LP: #1892369)

casper (1.445.2) focal; urgency=medium

  * Increase memory for qemu autopkgtest instances to 1G (LP: #1976287)

 -- Mauricio Faria de Oliveira <mfo at canonical.com>  Sat, 27 Aug 2022
19:37:43 -0300

** Changed in: casper (Ubuntu Focal)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1892369

Title:
  Impossible to skip integrity test for ubuntu-server 20.04.1 iso

Status in subiquity:
  New
Status in Release Notes for Ubuntu:
  New
Status in casper package in Ubuntu:
  Fix Released
Status in casper source package in Focal:
  Fix Released
Status in casper source package in Jammy:
  Fix Released

Bug description:
  [Impact]

   * Users cannot trivially skip the media integrity test in
     the 20.04.x installer, as ctrl-c is no longer available
     and the option 'fsck.mode=skip' is NOT honored if it is
     last in cmdline (which is usually the case for humans).

   * The impact is more severe on physical server installs,
     where usually the speed of _virtual_ optical media w/
     the BMC is really slow; impacting field/data center ops.

  [Test Plan]

   * Run casper in a container/guest with fake /proc/cmdline
     in 3 modes for 'fsck.mode=skip': (steps in comment #39).

     1) not present
     2) present, last option
     3) present, not last option

   * Test the options with 20.04.5 release candidate images.

  [Where problems could occur]

   * The patch is restricted to the option parsing in casper,
     so regressions would likely manifest as errors parsing
     kernel cmdline options or crashing casper (systemd unit).

   * The patch has been in Jammy/22.04 from the daily builds.

  [Original Description]

  It is not possible to skip the integrity test with the iso available
  at http://www.releases.ubuntu.com/20.04/ubuntu-20.04.1-live-server-
  amd64.iso .

  Bellow is a screenshot of me hitting CTRL+C to try to cancel it, without success:
  https://ibb.co/vwvtXmn

  Checking integrity can be extremely slow when mounting an image via
  virtual CD tools from Dell idrac. I didn't measure it precisely but it
  takes more than 30 minutes.

  Since the image is on a remote location and was already checked, this
  is completely useless.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/1892369/+subscriptions




More information about the foundations-bugs mailing list