@ahasenack
Hi, please review the updated SRU template. Thank you.

** Description changed:

  [Impact]
  
-  * grub-initrd-fallback.service still orders itself after grub-
- common.service.
+ The observed user impact is:
+   - grub-editenv: error: invalid environment block appears in the journal
+   - grub2-common.service fails to clear recordfail, leaving recordfail=1
+     set in grubenv
+   - On the next boot, GRUB detects recordfail=1 and displays the boot
+     selection menu with a 30-second timeout, as if the previous boot had
+     failed, even when nothing was wrong
  
+  * grub-initrd-fallback.service still orders itself after grub-common.service.
   * grub-common.service was renamed/merged into grub2-common.service, so the
     ordering dependency now points at the wrong unit.
  
  [Test Case]
  
   * boot a system with the affected grub2-common package installed.
  
   * observe that grub-initrd-fallback.service references the obsolete
  unit:
  
     $ systemctl cat grub-initrd-fallback.service | grep 'After=grub-
  common.service'
  
   * install the fixed package.
  
-  * observe that grub-initrd-fallback.service is now ordered after
-    grub2-common.service:
- 
-    $ systemctl cat grub-initrd-fallback.service | grep
- 'After=grub2-common.service'
- 
-  * reboot the system.
- 
-  * observe that grub2-common.service and grub-initrd-fallback.service both
-    complete successfully, and that grub-initrd-fallback.service runs after
-    grub2-common.service.
- 
- Check the units order using
- 
- $ sudo journalctl -u grub2-common.service -u grub-initrd-
- fallback.service -b
- 
- the output should be in order, not interleaved, with grub2-common first and 
then
- grub-initrd-fallback.
+  * Run a 100-cycle reboot test and check whether the GRUB menu appears
+ unexpectedly during boot. Also review the journal logs for any “grub-
+ editenv: /usr/bin/grub-editenv: error: invalid environment block”
+ errors.
  
  [Where problems could occur]
  
   * If grub2-common.service fails or is delayed, grub-initrd-fallback.service 
will
     also be delayed by the intended ordering relationship.
  
  [Other Info]
  
   * The previous SRU for the original race is LP: #1910815
  
   * Error messages:
  Jun 02 03:47:41 ubuntu-202605-38820 grub-editenv[1846]: 
/usr/bin/grub-editenv: error: invalid environment block.
  Jun 02 03:47:41 ubuntu-202605-38820 systemd[1]: grub-initrd-fallback.service: 
Main process exited, code=exited, status=1/FAILURE
  Jun 02 03:47:41 ubuntu-202605-38820 systemd[1]: grub-initrd-fallback.service: 
Failed with result 'exit-code'.
  Jun 02 03:47:41 ubuntu-202605-38820 systemd[1]: Failed to start 
grub-initrd-fallback.service - GRUB failed boot detection.

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

Title:
  Fix grub-initrd-fallback.service order

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2156423/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to