2005-09-19 21:17:45 +00:00
|
|
|
#
|
|
|
|
# /etc
|
|
|
|
#
|
2014-02-08 17:31:52 +00:00
|
|
|
/etc/postgresql(-.*)?(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
|
|
|
|
|
2014-03-14 14:10:32 +00:00
|
|
|
/etc/rc\.d/init\.d/(se)?postgresql(-.*)? -- gen_context(system_u:object_r:postgresql_initrc_exec_t,s0)
|
2014-02-08 17:31:52 +00:00
|
|
|
|
2010-03-19 17:51:32 +00:00
|
|
|
/etc/sysconfig/pgsql(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /usr
|
|
|
|
#
|
2008-06-10 15:33:18 +00:00
|
|
|
/usr/bin/initdb(\.sepgsql)? -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/bin/(se)?postgres -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2012-05-07 18:36:06 +00:00
|
|
|
/usr/lib/pgsql/test/regress(/.*)? 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)
|
2014-08-12 12:35:57 +00:00
|
|
|
|
2014-08-12 12:35:58 +00:00
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_archivecleanup -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_basebackup -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_controldata -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_ctl -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_resetxlog -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_standby -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_upgrade -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/pg_xlogdump -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/postgres -- gen_context(system_u:object_r:postgresql_exec_t,s0)
|
|
|
|
/usr/lib/postgresql(-.*)?/(.*/)?bin/postmaster -l gen_context(system_u:object_r:postgresql_exec_t,s0)
|
2006-03-24 16:48:35 +00:00
|
|
|
|
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)
|
2008-08-14 15:10:41 +00:00
|
|
|
/var/lib/pgsql/logfile(/.*)? gen_context(system_u:object_r:postgresql_log_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
|
|
|
|
2008-06-10 15:33:18 +00:00
|
|
|
/var/lib/sepgsql(/.*)? gen_context(system_u:object_r:postgresql_db_t,s0)
|
|
|
|
/var/lib/sepgsql/pgstartup\.log -- gen_context(system_u:object_r:postgresql_log_t,s0)
|
|
|
|
|
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)
|
2008-06-10 15:33:18 +00:00
|
|
|
/var/log/sepostgresql\.log.* -- 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)
|
2010-03-19 17:51:32 +00:00
|
|
|
|
|
|
|
/var/run/postmaster.* gen_context(system_u:object_r:postgresql_var_run_t,s0)
|