Skip to content

Uninstall pigz Package

An XCCDF Rule

Description

The pigz package can be removed with the following command:

$ sudo yum erase pigz

Rationale

Binaries shipped in pigz package in Red Hat Enterprise Linux 8 have not been compiled using recommended compiler flags. The binaries are compiled without sufficient stack protection and its address space layout randomization (ASLR) is weak.

ID
xccdf_org.ssgproject.content_rule_package_pigz_removed
Severity
Low
References
Updated



Remediation - Ansible

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

Remediation - Puppet

include remove_pigz

class remove_pigz {
  package { 'pigz':
    ensure => 'purged',
  }

Remediation - Anaconda Pre-Install Instructions


package --remove=pigz

Remediation - Shell Script


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