Bug 2292636 - tuned.service and tuned-ppd.service need to be added to presets
Summary: tuned.service and tuned-ppd.service need to be added to presets
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: tuned
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Pavol Zacik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-17 08:58 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2024-09-11 08:45 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-11 08:45:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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