selinux-policy/strict/file_contexts/program/postgresql.fc
2005-04-29 17:45:15 +00:00

17 lines
922 B
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