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

Mauricio Faria de Oliveira 1892369 at bugs.launchpad.net
Sat Aug 27 23:40:29 UTC 2022


** Merge proposal linked:
   https://code.launchpad.net/~mfo/casper/+git/casper/+merge/429028

-- 
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:
  In Progress
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