Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1223864

Summary: tuned bootloader plugin should use GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB_CMDLINE_LINUX.
Product: Red Hat Enterprise Linux 7 Reporter: Karl Hastings <kazen>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Tereza Cerna <tcerna>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: jeder, jscotka, jskarvad, tcerna
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tuned-2.5.1-3.el7 Doc Type: Bug Fix
Doc Text:
Cause: Previously the bootloader plugin added Tuned parameters to all kernels including the rescue kernels. Consequence: This could cause problems and could make the system unbootable if user set the Tuned kernel parameters to unsafe values. Fix: The code was fixed not to add the Tuned parameters to rescue kernels. Also the grub2 template was fixed and it now uses GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB_CMDLINE_LINUX for adding Tuned parameters. This ensures that the rescue kernels are not touched if the grub config is regenerated by the grub2-mkconfig command. Result: Tuned parameters are not added to rescue kernels.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:21:39 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:
Bug Depends On: 1246094    
Bug Blocks:    

Description Karl Hastings 2015-05-21 14:52:58 UTC
Description of problem:


Version-Release number of selected component (if applicable):
tuned-2.4.1-1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. configure a new tuned profile to have a [bootloader] section with a 'cmdline' value
2. run tuned-adm to switch to the new profile

Actual results:
$tuned_params to all boot lines including the "Rescue" profile. e.g.:

	linux16 /vmlinuz-0-rescue-ed77159c05c14651ae386d14dbf229b4 root=/dev/mapper/rhel_rhel7-root ro crashkernel=auto rd.lvm.lv=rhel_rhel7/root rd.lvm.lv=rhel_rhel7/swap rhgb quiet $tuned_params

Expected results:
$tuned_params only gets added to the normal profiles.

Additional info:
"It's about using GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB_CMDLINE_LINUX."

Comment 9 errata-xmlrpc 2015-11-19 12:21:39 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, 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://rhn.redhat.com/errata/RHBA-2015-2375.html