SV-221715r603260_rule
V-221715
SRG-OS-000437-GPOS-00194
OL07-00-020200
CAT III
10
Configure the operating system to remove all software components after updated versions have been installed.
Set the "clean_requirements_on_remove" option to "1" in the "/etc/yum.conf" file:
clean_requirements_on_remove=1
Verify the operating system removes all software components after updated versions have been installed.
Check if yum is configured to remove unneeded packages with the following command:
# grep -i clean_requirements_on_remove /etc/yum.conf
clean_requirements_on_remove=1
If "clean_requirements_on_remove" is not set to "1", "True", or "yes", or is not set in "/etc/yum.conf", this is a finding.
V-221715
False
OL07-00-020200
Verify the operating system removes all software components after updated versions have been installed.
Check if yum is configured to remove unneeded packages with the following command:
# grep -i clean_requirements_on_remove /etc/yum.conf
clean_requirements_on_remove=1
If "clean_requirements_on_remove" is not set to "1", "True", or "yes", or is not set in "/etc/yum.conf", this is a finding.
M
4089