Check: GEN003640
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 consistent 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. Procedure: # mount -v UFS, 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 using other mechanisms to ensure consistency. If the root file system supports journaling, enable it. If the file system does not support journaling or another mechanism to ensure consistency, a migration to a different file system will be necessary.
Additional Identifiers
Rule ID:
Vulnerability ID: V-4304
Group Title:
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 |