Package glibc Installed
An XCCDF Rule
Description
The packageglibc
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 Templates
A Shell Script
if ! rpm -q --quiet "glibc" ; then
yum install -y "glibc"
fi
A Puppet Snippet
include install_glibc
class install_glibc {
package { 'glibc':
ensure => 'installed',
}
}
An Ansible Snippet
- name: Ensure glibc is installed
package:
name: glibc
state: present
tags:
- enable_strategy
OS Build Blueprint
[[packages]]
name = "glibc"
version = "*"
Anaconda Pre-Install Instructions
package --add=glibc