Uninstall geolite2-city Package
An XCCDF Rule
Description
The geolite2-city
package can be removed with the following command:
$ sudo dnf erase geolite2-city
Rationale
geolite2-city
is part of the GeoLite2 database packages, offering geolocation databases and tooling.
- ID
- xccdf_org.ssgproject.content_rule_package_geolite2-city_removed
- Severity
- Low
- Updated
Remediation - Anaconda Pre-Install Instructions
package --remove=geolite2-city
Remediation - Ansible
- name: Ensure geolite2-city is removed
package:
name: geolite2-city
state: absent
tags:
- disable_strategy
Remediation - Puppet
include remove_geolite2-city
class remove_geolite2-city {
package { 'geolite2-city':
ensure => 'purged',
}
Remediation - Shell Script
# CAUTION: This remediation script will remove geolite2-city
# from the system, and may remove any packages
# that depend on geolite2-city. Execute this
# remediation AFTER testing on a non-production
# system!