SV-269453r1050336_rule
V-269453
SRG-OS-000437-GPOS-00194
ALMA-09-045120
CAT II
10
Configure AlmaLinux OS 9 to remove all software components after updated versions have been installed.
Run the following command to change the configuration of DNF:
$ dnf config-manager --setopt clean_requirements_on_remove=1 --save
Verify AlmaLinux OS 9 removes all software components after updated versions have been installed with the following command:
$ dnf config-manager --dump | grep clean
clean_requirements_on_remove = 1
If "clean_requirements_on_remove" is not set to "1", this is a finding.
V-269453
False
ALMA-09-045120
Verify AlmaLinux OS 9 removes all software components after updated versions have been installed with the following command:
$ dnf config-manager --dump | grep clean
clean_requirements_on_remove = 1
If "clean_requirements_on_remove" is not set to "1", this is a finding.
M
5664