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 2215298 - SIGHUP of tuned.service may lead to random corruption of /etc/tuned/bootcmdline file
Summary: SIGHUP of tuned.service may lead to random corruption of /etc/tuned/bootcmdli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: tuned
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Robin Hack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-15 12:51 UTC by Kevin Myers
Modified: 2023-11-14 18:14 UTC (History)
6 users (show)

Fixed In Version: tuned-2.21.0-0.1.rc1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 15:51:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159983 0 None None None 2023-06-15 12:52:53 UTC
Red Hat Product Errata RHBA-2023:7182 0 None None None 2023-11-14 15:51:54 UTC

Description Kevin Myers 2023-06-15 12:51:31 UTC
Description of problem:

When the tuned service applies profiles following a sighup it randomly duplicated lines in /etc/tuned/bootcmdline file.   

Version-Release number of selected component (if applicable):

- tuned-2.18.0-2.el8_6.1.noarch
- tuned-2.20.0-1.el8.noarch

(Customer did not experience with tuned 2.15.0-2.el8_4.1)


How reproducible:

random


Steps to Reproduce:
1. systemctl kill -s HUP tuned.service 
2. 
3.

Actual results:

/etc/tuned/bootcmdline contains extra lines at beginning of file such as:

   TUNED_BOOT_CMDLINE=""
   TUNED_BOOT_INITRD_ADD=""
   kernel boot command line and


Expected results:
/etc/tuned/bootcmdline is unchanged except for necessary profile adjustments

Additional info:

Comment 9 Jaroslav Škarvada 2023-08-17 12:59:12 UTC
Upstream PR:
https://github.com/redhat-performance/tuned/pull/547

Comment 16 errata-xmlrpc 2023-11-14 15:51:49 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 (tuned bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:7182


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