RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2105118 - /etc/defaut/grub doesn't exist but grubby claims to update this file when --update-kernel=ALL
Summary: /etc/defaut/grub doesn't exist but grubby claims to update this file when --u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: grubby
Version: 9.1
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bootloader engineering team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-08 01:00 UTC by Coiby
Modified: 2022-11-15 13:12 UTC (History)
3 users (show)

Fixed In Version: grubby-8.40-59.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:19:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-127271 0 None None None 2022-07-08 01:03:51 UTC
Red Hat Issue Tracker RTT-4710 0 None None None 2022-07-19 20:43:54 UTC
Red Hat Issue Tracker RTT-4711 0 None None None 2022-07-19 20:43:59 UTC
Red Hat Product Errata RHBA-2022:8339 0 None None None 2022-11-15 11:19:28 UTC

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


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