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 Templates

An Ansible Snippet

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

script:kickstart

package remove pigz

Anaconda Pre-Install Instructions

package --remove=pigz

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

A Puppet Snippet

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

script:bootc

dnf remove pigz