Skip to content

Uninstall kea Package

An XCCDF Rule

Description

If the system does not need to act as a DHCP server, the kea package can be uninstalled.

Rationale

Removing the DHCP server ensures that it cannot be easily or accidentally reactivated and disrupt network operation.

ID
xccdf_org.ssgproject.content_rule_package_kea_removed
Severity
Medium
References
Updated



Remediation - Puppet

include remove_kea

class remove_kea {
  package { 'kea':
    ensure => 'purged',
  }

Remediation - Ansible

- name: Ensure kea is removed
  package:
    name: kea
    state: absent
  tags:
  - disable_strategy

Remediation - script:kickstart


package remove kea

Remediation - script:bootc


dnf remove kea

Remediation - Anaconda Pre-Install Instructions


package --remove=kea

Remediation - Shell Script


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