OL 9 must mount /boot with the nodev option.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-271647 | SRG-OS-000368-GPOS-00154 | OL09-00-002030 | SV-271647r1091653_rule | 2025-05-08 | 1 |
| Description |
|---|
| The only legitimate location for device files is the "/dev" directory located on the root partition. The only exception to this is chroot jails. |
| ℹ️ Check |
|---|
| Verify that OL 9 is configured to mount /boot with the nodev option. Verify that the "/boot" mount point has the "nodev" option is with the following command: $ mount | grep '\s/boot\s' /dev/sda1 on /boot type xfs (rw,nodev,relatime,seclabel,attr2) If the "/boot" file system does not have the "nodev" option set, this is a finding. |
| ✔️ Fix |
|---|
| Configure OL 9 to mount /boot with the nodev option. Modify "/etc/fstab" to use the "nodev" option on the "/boot" directory. |