From bd4af499968a6621d04ac8784db13be66812e7fc Mon Sep 17 00:00:00 2001 From: Sven Vermeulen Date: Sat, 8 Sep 2012 17:45:53 +0200 Subject: [PATCH] Allow init scripts to read courier configuration The courier-imap and courier-pop3 daemons are started by sourcing their configuration files, and then invoking the daemons using the proper options. If this is done through a specialized script, then init only needs to call this script (where a proper transition occurs) but if the init script itself does this, it needs to be able to read the configuration files. Signed-off-by: Sven Vermeulen --- policy/modules/system/init.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index 0a7eda5c3..32dd04366 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -612,6 +612,10 @@ optional_policy(` clamav_read_config(initrc_t) ') +optional_policy(` + courier_read_config(initrc_t) +') + optional_policy(` cpucontrol_stub(initrc_t) dev_getattr_cpu_dev(initrc_t)