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.
DescriptionLuiz Capitulino
2015-07-07 17:26:26 UTC
Created attachment 1049504[details]
grub.cfg with garbage
Description of problem:
Installing a new kernel on a system using the realtime-virtual-host profile causes tuned to add garbage to the grub.cfg file. The garbage is added to the "set tuned_param" line, like:
### BEGIN /etc/grub.d/00_tuned ###
set tuned_params="isolcpus=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,12,13,14,15,8,10,12,14=1,3,5,7,9,11,1
[...]
This goes on and on for several lines. I'll attach the full grub.cfg for inspection.
A system with this grub.cfg won't boot. GRUB will print an error message before printing its prompt. The only way around this I could find was to boot with a rescue DVD and re-generate the grub.cfg file by hand.
Version-Release number of selected component (if applicable): tuned-2.4.1-1.20150622git740fab40.el7.noarch
How reproducible:
Steps to Reproduce:
1. Install the realtime-virtual-host profile from (https://github.com/jeremyeder/tuned-profiles-realtime)
2. Install a new kernel
Comment 2Jaroslav Škarvada
2015-07-16 11:42:48 UTC
I think it is a race somewhere, e.g. the grub.cfg is probably simultaneously modified by two different processes. The source of this problem is currently unknown to me and I wasn't able to reproduce it, but I am still trying.