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 1654322 - Adding parameters to "/etc/default/grub" and rebuilding grub will not work.
Summary: Adding parameters to "/etc/default/grub" and rebuilding grub will not work.
Keywords:
Status: CLOSED DUPLICATE of bug 1651686
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: grub2
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Bootloader engineering team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-28 14:20 UTC by Ishan Kulkarni
Modified: 2018-11-28 14:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-28 14:30:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ishan Kulkarni 2018-11-28 14:20:58 UTC
Description of problem:

If kernel command line parameters are added to "/etc/default/grub" and if the grub is rebuilt using grub2-mkconfig -o /boot/grub2/grub.cfg, it will never come into effect and will always fail.


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

Observed on     :  RHEL 8.0 beta
Kernel version  :  4.18.0-32.el8.x86_64
Grub2 version   :  grub2-pc-2.02-57.el8.x86_64


How reproducible:

This issue can always be reproduced with 100% success rate.

Steps to Reproduce:
1. Fresh install RHEL 8 beta
2. Once the installation gets complete, edit "/etc/default/grub" and add kernel commandline parameters at "GRUB_CMDLINE_LINUX" line.
3. Rebuild the grub using grub2-mkconfig -o /boot/grub2/grub.cfg
4. Reboot the server and test.


Actual results:

The added parameters will never come into effect and the addition of parameters will always fail.


Expected results:

Added kernel command line parameters should work and they should come into effect.


Additional info:

Comment 1 Javier Martinez Canillas 2018-11-28 14:30:12 UTC

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


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