SV-281322r1167116_rule
V-281322
SRG-OS-000269-GPOS-00103
RHEL-10-701200
CAT II
10
Configure RHEL 10 to disable and mask the kdump service.
To disable the kdump service, run the following command:
$ sudo systemctl disable --now kdump
Removed '/etc/systemd/system/multi-user.target.wants/kdump.service'.
To mask the kdump service, run the following command:
$ sudo systemctl mask --now kdump
Created symlink '/etc/systemd/system/kdump.service' ? '/dev/null'.
Verify RHEL 10 disables the kdump service in system boot configuration with the following command:
$ sudo systemctl is-enabled kdump
masked
Verify the kdump service is not active (i.e., not running) through current runtime configuration with the following command:
$ sudo systemctl is-active kdump
failed
Verify the kdump service is masked with the following command:
$ sudo systemctl show kdump | grep "LoadState\|UnitFileState"
LoadState=masked
UnitFileState=masked
If the "kdump" service is loaded or active and is not masked, this is a finding.
V-281322
False
RHEL-10-701200
Verify RHEL 10 disables the kdump service in system boot configuration with the following command:
$ sudo systemctl is-enabled kdump
masked
Verify the kdump service is not active (i.e., not running) through current runtime configuration with the following command:
$ sudo systemctl is-active kdump
failed
Verify the kdump service is masked with the following command:
$ sudo systemctl show kdump | grep "LoadState\|UnitFileState"
LoadState=masked
UnitFileState=masked
If the "kdump" service is loaded or active and is not masked, this is a finding.
M
5733