Skip to content

Uninstall tuned Package

An XCCDF Rule

Description

The tuned package can be removed with the following command:
$ sudo yum erase tuned

warning alert: Warning

This rule is disabled on Red Hat Virtualization Hosts and Managers, it will report not applicable. RHV requires tuned package for tuning profiles that can enhance virtualization performance.

Rationale

tuned contains a daemon that tunes the system settings dynamically. It does so by monitoring the usage of several system components periodically. Based on that information, components will then be put into lower or higher power savings modes to adapt to the current usage.

ID
xccdf_org.ssgproject.content_rule_package_tuned_removed
Severity
Medium
References
Updated

Remediation Templates

A Puppet Snippet

include remove_tuned
class remove_tuned {
  package { 'tuned':
    ensure => 'purged',
  }
}

An Ansible Snippet

- name: Ensure tuned is removed
  package:
    name: tuned
    state: absent
  tags:
  - DISA-STIG-RHEL-08-040390

script:kickstart

package remove tuned

script:bootc

dnf remove tuned

Anaconda Pre-Install Instructions

package --remove=tuned

A Shell Script

# CAUTION: This remediation script will remove tuned
#	   from the system, and may remove any packages
#	   that depend on tuned. Execute this
#	   remediation AFTER testing on a non-production
#	   system!