Check: GEN003640
HP-UX 11.31 STIG:
GEN003640
(in versions v1 r19 through v1 r13)
Title
The root file system must employ journaling or another mechanism ensuring file system consistency. (Cat II impact)
Discussion
File system journaling, or logging, can allow reconstruction of file system data after a system crash, thus, preserving the integrity of data that may have otherwise been lost. Journaling file systems typically do not require consistency checks upon booting after a crash, which can improve system availability. Some file systems employ other mechanisms to ensure consistency which also satisfy this requirement.
Check Content
Logging should be enabled for those types of files systems that do not turn on logging by default. # mount Alternatively: # cat /etc/fstab | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | \ cut -f 2,3 -d " " | grep "/ " | grep -c -i "vxfs" If the above command return value is 1, vxfs journaling is in use, this is not a finding. JFS, VXFS, HFS, XFS, reiserfs, EXT3 and EXT4 all turn logging on by default and will not be a finding. The ZFS file system uses other mechanisms to provide for file system consistency, and will not be a finding. For other file systems types, if the root file system does not have the logging option, this is a finding. If the nolog option is set on the root file system, this is a finding.
Fix Text
Implement file system journaling for the root file system, or use a file system that uses other mechanisms to ensure file system consistency. If the root file system supports journaling, enable it. If the file system does not support journaling or another mechanism to ensure file system consistency, a migration to a different file system will be necessary.
Additional Identifiers
Rule ID: SV-35057r1_rule
Vulnerability ID: V-4304
Group Title: GEN003640
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000553 |
The information system implements transaction recovery for systems that are transaction-based. |
Controls
Number | Title |
---|---|
CP-10 (2) |
Transaction Recovery |