[Bug 1749289] Re: Installer stops after pressing Cancel on Select a language screen during OEM install

Dan Streetman dan.streetman at canonical.com
Tue Oct 16 13:55:33 UTC 2018


** Changed in: ubiquity (Ubuntu Xenial)
     Assignee: (unassigned) => Dariusz Gadomski (dgadomski)

** Changed in: ubiquity (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: ubiquity (Ubuntu Xenial)
       Status: Confirmed => In Progress

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

Title:
  Installer stops after pressing Cancel on Select a language screen
  during OEM install

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Xenial:
  In Progress
Status in ubiquity source package in Bionic:
  Fix Released
Status in ubiquity source package in Cosmic:
  Fix Released

Bug description:
  [Impact]

  Pressing Cancel during Ubuntu 16.04.3 Server installation after OEM
  install and after running oem-config-prepare aborts the installation.

  The behaviour is different from a regular Ubuntu 16.04.3 Server
  installation (without OEM) where the option at the bottom is "Go Back"
  which will send you back to steps menu. In the OEM mode, the options
  are "Ok" and "Cancel" and pressing Cancel will break the installation.

  This is an issue with oem-config basically, which comes from ubiquity

  The upload[1] fixes the bug by implementing do_reboot method in the
  debconf_ui wizard to prevent AttributeError caused by calling missing
  method.

  [1]
  https://code.launchpad.net/~dgadomski/ubiquity/+git/ubiquity/+ref/lp1749289-b

  [[missing: justification for backporting the fix to the stable
  release]]

  [Test Case]

  1.Download Ubuntu Server 16.04.3 from https://www.ubuntu.com/download/server
  2.Boot VM with ubuntu-16.04.3-server-amd64.iso
  3.Highlight "Install Ubuntu Server" and press F4 and choose "OEM install (for manufacturers)" and press Enter on "Install Ubuntu Server"
  4.Accept all defaults and choose a password
  5.Reboot at the end of the installation
  6.Enter login prompt (username:oem and password you set)
  7.sudo oem-config-prepare
  8.Reboot
  9.In "Select a language" screen, press Cancel
  10.Installation aborts and OEM-config.service fails to start and hangs forever. The exact error message is: "Failed to start End-user configuration after initial OEM installation"

  [[missing: steps to verify that the updated package fixes the
  problem]]

  [Regression Potential]

  If any automation was depending on current behavior (error code
  returned from the script when unimplemented methods has been called)
  it may now misbehave.

  [Other Info]

  The error after pressing Cancel in the OEM mode:
  https://launchpadlibrarian.net/356907996/oem-error.png

  The different options between OEM and regular installation:
  https://launchpadlibrarian.net/356908005/oem-vs-regular.png

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1749289/+subscriptions



More information about the foundations-bugs mailing list