Bug 2100491

Summary: Install tuned by default on RHEL-9
Product: Red Hat Enterprise Linux 9 Reporter: Jiri Hladky <jhladky>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED CURRENTRELEASE QA Contact: Robin Hack <rhack>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 9.0CC: bmarson, dshaks, jeder, jhladky, jmario, jpazdziora, jskarvad, jstodola, jwboyer, jzerdik, sbarcomb
Target Milestone: rcKeywords: TestCaseNotNeeded, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-27 22:19:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Installation types none

Description Jiri Hladky 2022-06-23 14:01:33 UTC
Description of problem:

Hello,

on RHEL-9, tuned is not installed by default on bare-metal servers. This is a critical issue as tuned is crucial for the system performance and user experience. 

Background: 
===============================================================
tuned was removed from the @core group in Fedora ELN Jan 18, 2021.

commit a5d4f1b6c9fcbe20cb0c38eac5048d7d45d1dd17
Author: Jan Pazdziora <jpazdziora>
Date:   Mon Jan 18 12:21:03 2021 +0100

    The tuned daemon should not be mandatory in minimal host installations.

This was done to minimize the footprint and reduce the number of packages that are required for Common Criteria certification.
===============================================================

For images, the issue was solved with the update of Image Builder (osbuild-composer) - see 
Bug 2026709 - Install TuneD by default on all RHEL (virtual/cloud) images which use @core package group

This means that Tuned is installed by default on all RHEL images that are produced by Image Builder (osbuild-composer), but the change done in BZ2026709 has no effect on default installation that is done via Anaconda.

We need now a fix for default installations done with Anaconda.

We think that we can fix the issue by adding tuned to the @base/@standard groups. We don't want tuned to be added back to the @core group. 

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

Tested with Beaker on bare metal server with these composes. In all cases, tuned was installed by default (checked in multi-user.target)

RHEL-9.0.0 GA
RHEL-9.0.0-updates-20220621.1
RHEL-9.1.0-20220621.1

How reproducible:
Always

Steps to Reproduce:
1) Install RHEL-9 compose (Reserve Workflow) on bare-metal system in Beaker
2) rpm -qa | grep tuned

Alternatively, checked if tuned is in @base/@standard package groups:
$dnf group info base | grep -i tuned
$dnf group info standard | grep -i tuned


Actual results:
tuned is not installed by default on RHEL-9 on bare metal server

Expected results:
tuned is installed by default on fresh RHEL-9 install on bare metal server

Additional info:

Comment 1 Jiri Hladky 2022-06-23 14:17:43 UTC
Related Jira Ticket:
https://issues.redhat.com/browse/ENGCMP-2413

Comment 2 Jaroslav Škarvada 2022-06-23 14:48:17 UTC
I am OK with the @base group.

Comment 7 Jiri Hladky 2022-06-27 22:16:19 UTC
Tuned has been added to the Mandatory Packages section of the @base package group. 

I have tested the fix with RHEL-9.0.0-updates-20220627.0 and I can confirm that

  * for the installation type Server, tuned is now installed by default
  * for the Minimal installation, tuned is not installed by default

This is expected behavior, corresponding to the fact that tuned is now in the @base package group.

I'm going to close this BZ.