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 1233004 - apply $tuned_params to existing kernels
Summary: apply $tuned_params to existing kernels
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
URL:
Whiteboard:
Depends On: 1246094
Blocks: kvm-rt-tuned
TreeView+ depends on / blocked
 
Reported: 2015-06-18 03:12 UTC by Luiz Capitulino
Modified: 2015-11-19 12:21 UTC (History)
4 users (show)

Fixed In Version: tuned-2.5.1-1.el7
Doc Type: Bug Fix
Doc Text:
Cause: Previously there was a bug in the Tuned bootloader plugin regarding initial patching of the grub.cfg. Consequence: Tuned bootloader plugin could ignore existing kernels and didn't add Tuned parameters to them. User was still able to fix it by regeneration of the grub.cfg by running "grub2-mkconfig" command. Fix: The bootloader code was fixed and the initial patching of grub.cfg was improved. Result: The initial patching of grub.cfg now works correctly and user don't need to run "grub2-mkconfig".
Clone Of:
Environment:
Last Closed: 2015-11-19 12:21:56 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 Luiz Capitulino 2015-06-18 03:12:31 UTC
Description of problem:

tuned doesn't seem to apply $tuned_params to any kernel that was installed before a tuned profile that uses the bootloader plugin is activated. This requires the system administrator to re-generate grub.cfg by hand if s/he wants $tuned_params applied to existing kernels.


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


How reproducible:


Steps to Reproduce:
1. Get a system or a VM with a fresh RHEL installation or an existing installation which doesn't have tuned installed
2. Install tuned
3. Activate any profile that uses kernel parameters
4. Check /boot/grub2/grub.cfg

Actual results:

A line setting $tuned_params will exist, but it won't be applied to any existing kernels.

Expected results:

Existing kernels get $tuned_params applied.

Additional info:

Comment 3 Jaroslav Škarvada 2015-06-29 12:27:14 UTC
Fixed in upstream tuned commit:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=50dab75105f396f1773893e66566c65e333f4b4c

Also fixed:
- tuned_params aren't added to rescue kernels
- spurious whitespaces aren't added to grub.cfg

Comment 6 errata-xmlrpc 2015-11-19 12:21:56 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.