Bug 2292636

Summary: tuned.service and tuned-ppd.service need to be added to presets
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: tunedAssignee: Pavol Zacik <pzacik>
Status: CLOSED COMPLETED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: jskarvad, jzerdik, pzacik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-11 08:45:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zbigniew Jędrzejewski-Szmek 2024-06-17 08:58:26 UTC
I amended the Change page to say 'dnf switch power-profiles-daemon tuned-ppd'.
This replaces three commands with one.

For https://fedoraproject.org/wiki/Changes/TunedAsTheDefaultPowerProfileManagementDaemon,
see https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/.

As an additional step, I think it'd be nice to automatically start tuned-ppd, *if* ppd was running and is being replaced. Add a %trigger on the ppd being uninstalled, and record if it was running (see https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_saving_state_between_scriptlets) and autostart tuned-ppd if enabled and ppd was running.


Reproducible: Always

Comment 1 Pavol Zacik 2024-06-21 15:55:30 UTC
Relevant issue created for the `fedora-release` component: https://bugzilla.redhat.com/show_bug.cgi?id=2293665 with a PR submitted: https://src.fedoraproject.org/rpms/fedora-release/pull-request/335.

Regarding the automatic startup of tuned-ppd when swapping from power-profiles-daemon, this change is as part of a PR in TuneD upstream (TuneD tracks its specfile there): https://github.com/redhat-performance/tuned/pull/646.