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 - tuned bootloader plugin should use GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB_CMDLINE_LINUX.
Summary: tuned bootloader plugin should use GRUB_CMDLINE_LINUX_DEFAULT instead of GRUB...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
URL:
Whiteboard:
Depends On: 1246094
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 14:52 UTC by Karl Hastings
Modified: 2015-11-19 12:21 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-11-19 12:21:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2375 0 normal SHIPPED_LIVE tuned bug fix and enhancement update 2015-11-19 10:51:42 UTC

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


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