selinux-policy/strict/file_contexts/program/postgresql.fc
2005-09-19 21:17:45 +00:00

21 lines
1.1 KiB
Plaintext

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