2005-09-19 21:17:45 +00:00
|
|
|
#
|
|
|
|
# /etc
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/postgresql(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /usr
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/bin/initdb -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/bin/postgres -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/lib/pgsql/test/regres(/.*)? gen_context(system_u:object_r:postgresql_db_t,s0)
|
|
|
|
/usr/lib/pgsql/test/regress/pg_regress -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/lib(64)?/postgresql/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2006-03-24 16:48:35 +00:00
|
|
|
ifdef(`distro_debian', `
|
|
|
|
/usr/lib/postgresql/.*/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
')
|
|
|
|
|
2005-09-19 21:17:45 +00:00
|
|
|
ifdef(`distro_redhat', `
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/share/jonas/pgsql(/.*)? gen_context(system_u:object_r:postgresql_db_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
#
|
|
|
|
# /var
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/postgres(ql)?(/.*)? gen_context(system_u:object_r:postgresql_db_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/pgsql/data(/.*)? gen_context(system_u:object_r:postgresql_db_t,s0)
|
2006-07-24 15:43:57 +00:00
|
|
|
/var/lib/pgsql/pgstartup\.log gen_context(system_u:object_r:postgresql_log_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/log/postgres\.log.* -- gen_context(system_u:object_r:postgresql_log_t,s0)
|
|
|
|
/var/log/postgresql(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
|
|
|
ifdef(`distro_redhat', `
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/log/rhdb/rhdb(/.*)? gen_context(system_u:object_r:postgresql_log_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
')
|
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/run/postgresql(/.*)? gen_context(system_u:object_r:postgresql_var_run_t,s0)
|