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 1152550 - tuned bootloader plugin somehow duplicates cmdline option arguments
Summary: tuned bootloader plugin somehow duplicates cmdline option arguments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grubby
Version: 7.1
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
URL:
Whiteboard:
: 1240771 (view as bug list)
Depends On:
Blocks: kvm-rt-tuned
TreeView+ depends on / blocked
 
Reported: 2014-10-14 11:53 UTC by Jeremy Eder
Modified: 2019-12-16 04:33 UTC (History)
10 users (show)

Fixed In Version: grubby-8.28-14.el7
Doc Type: Bug Fix
Doc Text:
Cause: grubby was incorrectly treating some grub2 configuration commands with the quoting rules of another command, and then re-assembling the result with a different procedure. This also happened in reverse. Consequence: Quotes got messed up and some lines that are assignments got duplicated parts. Fix: grubby's parser was modified to handle these items separately. Result: Duplicated sections of assignment lines should no longer be generated.
Clone Of:
Environment:
Last Closed: 2015-11-19 12:55:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
grub.cfg (5.35 KB, text/plain)
2015-07-22 18:58 UTC, Jaroslav Škarvada
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2110 0 normal SHIPPED_LIVE grubby bug fix update 2015-11-19 11:13:52 UTC

Comment 8 Jeremy Eder 2015-07-16 11:51:54 UTC
*** Bug 1240771 has been marked as a duplicate of this bug. ***

Comment 9 Jaroslav Škarvada 2015-07-20 14:51:25 UTC
I tried running stress test on several machines, but it didn't reproduce the problem.

Next time you encounter it, please provide content of grub.cfg, content of tuned.conf (or the profile name you used if it wasn't customized), content of the *variables.conf (if utilized) and content of /etc/tuned/bootcmdline.

Comment 10 Luiz Capitulino 2015-07-20 15:07:20 UTC
What's the stress test you ran?

For me to reproduce this problem is just a matter of installing a new kernel. I've provided full grub.cfg in bug 1152550. I can provide the other files and debug this more later today.

Comment 11 Jaroslav Škarvada 2015-07-20 16:36:29 UTC
(In reply to Luiz Capitulino from comment #10)
> What's the stress test you ran?
>
It was switching profiles and changing the bootcmdline in a loop for couple of minutes.
 
> For me to reproduce this problem is just a matter of installing a new
> kernel.
>
It didn't trigger it for me. I will retry.

> I've provided full grub.cfg in bug 1152550. I can provide the other
> files and debug this more later today.
>
Ok, thanks.

Comment 12 Jaroslav Škarvada 2015-07-20 17:05:42 UTC
(In reply to Jaroslav Škarvada from comment #11)
> > For me to reproduce this problem is just a matter of installing a new
> > kernel.
> >
> It didn't trigger it for me. I will retry.
> 
I finally reproduced it.

Comment 14 Luiz Capitulino 2015-07-20 17:25:36 UTC
That's excellent. I can test a fixed tuned version as soon as you have patches.

Comment 15 Jaroslav Škarvada 2015-07-22 18:58:33 UTC
Created attachment 1054983 [details]
grub.cfg

This is not tuned bug, but bug in grubby - it is crippling the grub.cfg. It may cause other problems, thus it needs to be fixed in grubby.

Version:
grubby-8.28-12.el7.x86_64

Reproducer:

Run the following command on the grub.cfg from the attachment:

# /sbin/grubby --grub2 -c /boot/grub2/grub.cfg --add-kernel=/boot/vmlinuz-3.10.0-297.el7.x86_64 --copy-default --title 'Red Hat Enterprise Linux Server (3.10.0-297.el7.x86_64) 7.2 (Maipo)' '--args=root=/dev/mapper/rhel_hp--dl380pgen8--02--vm--10-root ' '--remove-kernel=TITLE=Red Hat Enterprise Linux Server (3.10.0-297.el7.x86_64) 7.2 (Maipo)' --make-default

Result:
The following from grub.cfg:
set tuned_params="isolcpus=1,3"

is changed by grubby to:
set tuned_params="isolcpus=1,3"=1,3"

Notice the suffix '=1,3"' which shouldn't be added by grubby.

Comment 24 Craig Donnelly 2015-10-02 09:39:02 UTC
Apologies,

Probably should have directed this to BZ#1212128

Comment 25 errata-xmlrpc 2015-11-19 12:55:21 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-2110.html


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