Bug 1975888 - RFE: grub.cfg should not write boot_success/boot_indeterminate when boot_counter and menu_auto_hide are not set
Summary: RFE: grub.cfg should not write boot_success/boot_indeterminate when boot_coun...
Keywords:
Status: CLOSED DUPLICATE of bug 1975891
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 34
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Javier Martinez Canillas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-24 16:20 UTC by Piergiorgio Sartor
Modified: 2022-04-19 19:22 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-19 19:22:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Piergiorgio Sartor 2021-06-24 16:20:23 UTC
Description of problem:
There are use cases where is not wished to update the file /boot/grub2/grubenv with the boot successful information.
Specifically, when the "boot_counter" and "menu_auto_hide" variable are not set there should be no reasons for updating /boot/grub2/grubenv.
There could be situations where /boot resides on fragile storage, like SD cards, and the user might want to minimize writes.

Version-Release number of selected component (if applicable):
2.06-2

How reproducible:
Always

Steps to Reproduce:
1.
Remove the variables above mentioned
2.
Reboot
3.
Check /boot/grub2/grubenv

Actual results:
The file /boot/grub2/grubenv is changed

Expected results:
Should not be changed

Additional info:

Comment 1 Robbie Harwood 2022-04-19 19:22:19 UTC

*** This bug has been marked as a duplicate of bug 1975891 ***


Note You need to log in before you can comment on or make changes to this bug.