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:
Upstream PR: https://github.com/redhat-performance/tuned/pull/547