[Bug 1750732] Re: grub package will change the boot order for MaaS deployed system

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Oct 3 12:59:21 UTC 2018


This is possibly a firmware issue, seeing as the default state for grub
as provided by maas/curtin config should be to skip modifying nvram.

However, how is the system booting in general? Was BootOrder really set
to booting to the network first? If it's set to other devices, and the
other device happens to be the hard disk, then shim fallback may cause a
new variable to be written to nvram to boot to 'ubuntu', and that
variable will always be written as a new thing to boot to first.

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

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

Title:
  grub package will change the boot order for MaaS deployed system

Status in curtin package in Ubuntu:
  New
Status in grub2 package in Ubuntu:
  Incomplete
Status in maas package in Ubuntu:
  New

Bug description:
  Similar to bug 1642298, this issue strikes back (looks like it's only
  affecting our node "lodygin - AMD Speedway Naples 2U" in the test
  pool)

  Steps:
   1. Deploy a system with Xenial
   2. Check the boot order with `efibootmgr`
   3. Upgrade grub-efi-amd64 from proposed
   4. Reboot
   5. Check the `efibootmgr` again

  Result:
   * The boot order will be overrided to boot from disk first, MaaS needs it to boot with PXE first.

  Package version:
  grub-common   2.02~beta2-36ubuntu3.17
  grub-efi-amd64   2.02~beta2-36ubuntu3.17
  grub-efi-amd64-bin   2.02~beta2-36ubuntu3.17
  grub-efi-amd64-signed   1.66.17+2.02~beta2-36ubuntu3.17
  grub-pc   2.02~beta2-36ubuntu3.16
  grub-pc-bin   2.02~beta2-36ubuntu3.17
  grub2-common   2.02~beta2-36ubuntu3.17

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: grub-efi-amd64 2.02~beta2-36ubuntu3.17
  ProcVersionSignature: User Name 4.4.0-112.135-generic 4.4.98
  Uname: Linux 4.4.0-112-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  Date: Wed Feb 21 06:09:29 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list