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 22a287
/etc/rc\.d/init\.d/(se)?postgresql --	gen_context(system_u:object_r:postgresql_initrc_exec_t,s0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# /usr
Chris PeBenito 17de1b
#
Chris PeBenito e8cb08
/usr/bin/initdb(\.sepgsql)?	--	gen_context(system_u:object_r:postgresql_exec_t,s0)
Chris PeBenito e8cb08
/usr/bin/(se)?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 770c01
/var/lib/pgsql/logfile(/.*)?		gen_context(system_u:object_r:postgresql_log_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 e8cb08
/var/lib/sepgsql(/.*)?			gen_context(system_u:object_r:postgresql_db_t,s0)
Chris PeBenito e8cb08
/var/lib/sepgsql/pgstartup\.log	--	gen_context(system_u:object_r:postgresql_log_t,s0)
Chris PeBenito e8cb08
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 e8cb08
/var/log/sepostgresql\.log.*	--	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)