Update file contexts for courier to support courier-imap

The courier-imapd daemon is part of the courier package (and already supported
by the courier module in refpolicy), but uses a different location for its
configuration files (/etc/courier-imap) and persistent data
(/var/lib/courier-imap).

Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
Sven Vermeulen 2011-08-23 13:32:55 +02:00 committed by Chris PeBenito
parent 32ed63a740
commit 5296cfcdb9
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
/etc/courier(/.*)? gen_context(system_u:object_r:courier_etc_t,s0) /etc/courier(/.*)? gen_context(system_u:object_r:courier_etc_t,s0)
/etc/courier-imap(/.*)? gen_context(system_u:object_r:courier_etc_t,s0)
/usr/bin/imapd -- gen_context(system_u:object_r:courier_pop_exec_t,s0) /usr/bin/imapd -- gen_context(system_u:object_r:courier_pop_exec_t,s0)
@ -21,6 +22,7 @@ ifdef(`distro_gentoo',`
') ')
/var/lib/courier(/.*)? gen_context(system_u:object_r:courier_var_lib_t,s0) /var/lib/courier(/.*)? gen_context(system_u:object_r:courier_var_lib_t,s0)
/var/lib/courier-imap(/.*)? gen_context(system_u:object_r:courier_var_lib_t,s0)
/var/run/courier(/.*)? gen_context(system_u:object_r:courier_var_run_t,s0) /var/run/courier(/.*)? gen_context(system_u:object_r:courier_var_run_t,s0)