RHEL 9 must use a separate file system for /var/log.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| low | V-257846 | SRG-OS-000480-GPOS-00227 | RHEL-09-231025 | SV-257846r1044922_rule | 2025-05-14 | 2 |
| Description |
|---|
| Placing "/var/log" in its own partition enables better separation between log files and other files in "/var/". |
| ℹ️ Check |
|---|
| Verify that a separate file system/partition has been created for "/var/log" with the following command: $ mount | grep /var/log /dev/mapper/rhel-var_log on /var/log type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k) Note: Options displayed for mount may differ. If a separate entry for "/var/log" is not in use, this is a finding. |
| ✔️ Fix |
|---|
| Migrate the "/var/log" path onto a separate file system. |