RHEL 9 must use a separate file system for /var.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-257845RHEL-09-231020SV-257845r1044920_ruleCCI-000366low
Description
Ensuring that "/var" is mounted on its own partition enables the setting of more restrictive mount options. This helps protect system services such as daemons or other programs which use it. It is not uncommon for the "/var" directory to contain world-writable directories installed by other software packages.
STIGDate
Red Hat Enterprise Linux 9 Security Technical Implementation Guide2025-05-14

Details

Check Text (C-257845r1044920_chk)

Verify that a separate file system/partition has been created for "/var" with the following command: $ mount | grep /var /dev/mapper/rootvg-varlv on /var type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota) Note: Options displayed for mount may differ. If a separate entry for "/var" is not in use, this is a finding.

Fix Text (F-61510r925521_fix)

Migrate the "/var" path onto a separate file system.