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 - Anaconda Pre-Install Instructions


package --remove=tuned

Remediation - Ansible

- name: Ensure tuned is removed
  package:
    name: tuned
    state: absent
  tags:
  - CCE-82904-4

Remediation - Puppet

include remove_tuned

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

Remediation - 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!