Chris PeBenito ab58ad
# postgresql - database server
Chris PeBenito ab58ad
/usr/lib(64)?/postgresql/bin/.* --	system_u:object_r:postgresql_exec_t:s0
Chris PeBenito ab58ad
/usr/bin/postgres	--	system_u:object_r:postgresql_exec_t:s0
Chris PeBenito ab58ad
/usr/bin/initdb		--	system_u:object_r:postgresql_exec_t:s0
Chris PeBenito ab58ad
Chris PeBenito ab58ad
/var/lib/postgres(ql)?(/.*)? 	system_u:object_r:postgresql_db_t:s0
Chris PeBenito ab58ad
/var/lib/pgsql/data(/.*)?	system_u:object_r:postgresql_db_t:s0
Chris PeBenito ab58ad
/var/run/postgresql(/.*)?	system_u:object_r:postgresql_var_run_t:s0
Chris PeBenito ab58ad
/etc/postgresql(/.*)?		system_u:object_r:postgresql_etc_t:s0
Chris PeBenito ab58ad
/var/log/postgres\.log.* --	system_u:object_r:postgresql_log_t:s0
Chris PeBenito ab58ad
/var/log/postgresql(/.*)?	system_u:object_r:postgresql_log_t:s0
Chris PeBenito ab58ad
/var/lib/pgsql/pgstartup.log	system_u:object_r:postgresql_log_t:s0
Chris PeBenito ab58ad
/usr/lib/pgsql/test/regres(/.*)?	system_u:object_r:postgresql_db_t:s0
Chris PeBenito ab58ad
/usr/lib/pgsql/test/regress/.*\.so	-- system_u:object_r:shlib_t:s0
Chris PeBenito ab58ad
/usr/lib/pgsql/test/regress/.*\.sh	-- system_u:object_r:bin_t:s0
Chris PeBenito ab58ad
/usr/lib/pgsql/test/regress/pg_regress	-- system_u:object_r:postgresql_exec_t:s0
Chris PeBenito ab58ad
ifdef(`distro_redhat', `
Chris PeBenito ab58ad
/usr/share/jonas/pgsql(/.*)?       system_u:object_r:postgresql_db_t:s0
Chris PeBenito ab58ad
/var/log/rhdb/rhdb(/.*)?           system_u:object_r:postgresql_log_t:s0 
Chris PeBenito ab58ad
')