Package glibc Installed
An XCCDF Rule
Description
The package glibc
is installed on Linux by default, but the
glibc
version might not be sufficient for SAP. Please refer to
SAP note of your Linux version for the minimum requirement on glibc
.
The glibc
package can be installed with the following command:
$ sudo yum install glibc
Rationale
The glibc
package contains standard C and math libraries used by
multiple programs on Linux. The glibc
shipped with first release
of each major Linux version is often not sufficient for SAP.
An update is required after the first OS installation.
- ID
- xccdf_org.ssgproject.content_rule_package_glibc_installed
- Severity
- Medium
- Updated
Remediation - Anaconda Pre-Install Instructions
package --add=glibc
Remediation - OS Build Blueprint
[[packages]]
name = "glibc"
version = "*"
Remediation - Ansible
- name: Ensure glibc is installed
package:
name: glibc
state: present
tags:
- enable_strategy
Remediation - Puppet
include install_glibc
class install_glibc {
package { 'glibc':
ensure => 'installed',
}
Remediation - Shell Script
if ! rpm -q --quiet "glibc" ; then
yum install -y "glibc"
fi