Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /etc
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/etc/postgresql(/.*)?			gen_context(system_u:object_r:postgresql_etc_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /usr
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/usr/bin/initdb			--	gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito 17de1b
/usr/bin/postgres		--	gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/lib/pgsql/test/regres(/.*)?	gen_context(system_u:object_r:postgresql_db_t,s0)
Chris PeBenito 17de1b
/usr/lib/pgsql/test/regress/pg_regress -- gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/usr/lib(64)?/postgresql/bin/.* --	gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_debian', `
Chris PeBenito 17de1b
/usr/lib/postgresql/.*/bin/.*	--	gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_redhat', `
Chris PeBenito 17de1b
/usr/share/jonas/pgsql(/.*)?		gen_context(system_u:object_r:postgresql_db_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /var
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
/var/lib/postgres(ql)?(/.*)? 		gen_context(system_u:object_r:postgresql_db_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/var/lib/pgsql/data(/.*)?		gen_context(system_u:object_r:postgresql_db_t,s0)
Chris PeBenito 19ebf0
/var/lib/pgsql/pgstartup\.log		gen_context(system_u:object_r:postgresql_log_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/var/log/postgres\.log.* 	--	gen_context(system_u:object_r:postgresql_log_t,s0)
Chris PeBenito 17de1b
/var/log/postgresql(/.*)?		gen_context(system_u:object_r:postgresql_log_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_redhat', `
Chris PeBenito 17de1b
/var/log/rhdb/rhdb(/.*)?		gen_context(system_u:object_r:postgresql_log_t,s0)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
/var/run/postgresql(/.*)?		gen_context(system_u:object_r:postgresql_var_run_t,s0)