Skip to content

Uninstall abrt-plugin-sosreport Package

An XCCDF Rule

Description

The abrt-plugin-sosreport package can be removed with the following command:

$ sudo yum erase abrt-plugin-sosreport

Rationale

abrt-plugin-sosreport provides a plugin to include an sosreport in an ABRT report.

ID
xccdf_org.ssgproject.content_rule_package_abrt-plugin-sosreport_removed
Severity
Low
References
Updated



Remediation - Anaconda Pre-Install Instructions


package --remove=abrt-plugin-sosreport

Remediation - Ansible

- name: Ensure abrt-plugin-sosreport is removed
  package:
    name: abrt-plugin-sosreport
    state: absent
  tags:
  - DISA-STIG-RHEL-08-040001

Remediation - Puppet

include remove_abrt-plugin-sosreport

class remove_abrt-plugin-sosreport {
  package { 'abrt-plugin-sosreport':
    ensure => 'purged',
  }

Remediation - Shell Script


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