postgresql_16:9.6.40.4 GUC Parameters
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > sepgsql — SELinux-, label-based mandatory access control (MAC) security module > GUC Parameters
sepgsql.permissive (boolean)
This parameter enables sepgsql to function in permissive mode, regardless of the system setting. The default is off. This parameter can only be set in the postgresql.conf file or on the server command line.
When this parameter is on, sepgsql functions in permissive mode, even if SELinux in general is working in enforcing mode. This parameter is primarily useful for testing purposes.
sepgsql.debug_audit (boolean)
This parameter enables the printing of audit messages regardless of the system policy settings. The default is off, which means that messages will be printed according to the system settings.
The security policy of SELinux also has rules to control whether or not particular accesses are logged. By default, access violations are logged, but allowed accesses are not.
This parameter forces all possible logging to be turned on, regardless of the system policy.