Add two postgresql file contexts from gentoo policy

Gentoo appends version numbers to the names of the init script and the
config directory.
This commit is contained in:
Luis Ressel 2014-02-08 18:31:52 +01:00 committed by Chris PeBenito
parent c1c11fa2f8
commit defc62bf33

View File

@ -1,8 +1,10 @@
#
# /etc
#
/etc/postgresql(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
/etc/rc\.d/init\.d/(se)?postgresql -- gen_context(system_u:object_r:postgresql_initrc_exec_t,s0)
/etc/postgresql(-.*)?(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
/etc/rc\.d/init\.d/(se)?postgresql(-.*)? -- gen_context(system_u:object_r:postgresql_initrc_exec_t,s0)
/etc/sysconfig/pgsql(/.*)? gen_context(system_u:object_r:postgresql_etc_t,s0)
#