Bug 2105118

Summary: /etc/defaut/grub doesn't exist but grubby claims to update this file when --update-kernel=ALL
Product: Red Hat Enterprise Linux 9 Reporter: Coiby <coxu>
Component: grubbyAssignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: mlewando, pjanda, rharwood
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: grubby-8.40-59.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:19:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Coiby 2022-07-08 01:00:52 UTC
Description of problem:

/etc/defaut/grub doesn't exist but according to the man page of grubby, "if the ALL argument is used the variable  GRUB_CMDLINE_LINUX in /etc/default/grub is updated with the latest kernel argument list".

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


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Robbie Harwood 2022-07-11 16:42:00 UTC
Cosmetic docs change.

Comment 2 Marta Lewandowska 2022-07-29 10:40:46 UTC
--update-kernel=kernel-path
              The entries for kernels matching kernel-path are updated. Currently the only items that can be updated is the  kernel
              argument  list,  which is modified via the --args and --remove-args options. If the ALL argument is used the variable
              GRUB_CMDLINE_LINUX in /etc/default/grub is updated with the latest kernel argument list, unless the --no-etc-grub-up‐
              date option is used or the file does not exist (e.g., on s390x).

Setting Verified: Tested

Comment 5 Petr Janda 2022-08-09 13:08:33 UTC
Checked that fixed version landed in compose

Comment 7 errata-xmlrpc 2022-11-15 11:19:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (grubby bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8339