Skip to content

tuned does not fail if the profile does not exist in daemon mode #851

Description

@acottre

We recently upgraded from 2.20 to 2.25 (via debian 12 -> 13) and did not realise initially that there was a breaking change in v2.23.0 that meant our custom profile was no longer in the correct path.

This went silent until someone noticed that the tunings had not been applied, and found the error in the log.

2026-04-22 10:51:54,763 ERROR    tuned.daemon.daemon: Cannot set initial profile. No tunings will be enabled: Requested profile 'non-existant-profile' doesn't exist.

Would it be acceptable for tuned to exit with a non-zero exit code if the profile does not exist? I would be happy if this was done via an additional config/command line flag

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions