STIGUI
V-256604CAT II — Medium severitySV-256604r961125_rule

VMware Postgres must write log entries to disk prior to returning operation success or failure.

Rule version VCPG-70-000014 · STIG v1 · 2026-08-31

Discussion

Failure to a known secure state helps prevent a loss of confidentiality, integrity, or availability in the event of a failure of the information system or a component of the system. Preserving system state information helps to facilitate system restart and return to the operational mode of the organization with less disruption of mission/business processes.

Aggregating log writes saves on performance but leaves a window for log data loss. The logging system inside VMware Postgres is capable of writing logs to disk fully and completely before the associated operation is returned to the client. This ensures database activity is always captured, even in the event of a system crash during or immediately after a given operation.

Check

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SELECT name,setting FROM pg_settings WHERE name IN ('fsync','full_page_writes','synchronous_commit');"

Expected result:

fsync | on full_page_writes | on synchronous_commit | on

If the output does not match the expected result, this is a finding.

Fix

At the command prompt, run the following commands for each setting returned as "off" in the check:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET <name> TO 'on';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"

Note: Substitute <name> with the incorrectly set parameter (fsync, full_page_writes, synchronous_commit).

Identifiers

Group ID
V-256604
Group title
SRG-APP-000226-DB-000147
Rule ID
SV-256604r961125_rule
Check ID
C-60279r887596_chk
Fix ID
F-60222r887597_fix