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

Mauricio Faria de Oliveira 1892369 at bugs.launchpad.net
Wed Aug 31 14:02:39 UTC 2022


The fix is available and verified in the 20.04.5 RC images dated
20220831.

I tested both `focal-live-server-amd64.iso` and `focal-desktop-
amd64.iso`.

The new "(or try fsck.mode=skip)" string is there, and `fsck.mode=skip`
as the last argument in the kernel cmdline string does skip the check.
The previous workaround of having it, but not as last arg still works.

In the desktop ISO, the behavior isn't as intuitive w/ plymouth/splash,
but the functionality is there and it works, just like in server/above.
(This is likely not an issue, the option is less relevant on desktop.)

In desktop, the message in splash doesn't mention the new string, and
if you append it, it stays at "0% complete" until the boot finishes.
Just remove `splash` to see the behavior as in server.

cheers,
Mauricio

P.S: the autopkgtest regression failure introduced by previous upload
(merged to this one) was fixed [1] (thanks, Steve, for review/merge!)

[1] https://code.launchpad.net/~mfo/autopkgtest-cloud/+git/autopkgtest-
cloud/+merge/429182

-- 
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