From: dominick.grift@gmail.com (Dominick Grift) Date: Mon, 11 Mar 2013 09:23:21 +0100 Subject: [refpolicy] [PATCH 4/6] Asterisk needs to search through logs In-Reply-To: <1362927170-31116-5-git-send-email-sven.vermeulen@siphos.be> References: <1362927170-31116-1-git-send-email-sven.vermeulen@siphos.be> <1362927170-31116-5-git-send-email-sven.vermeulen@siphos.be> Message-ID: <1362990201.8756.2.camel@d30> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On Sun, 2013-03-10 at 15:52 +0100, Sven Vermeulen wrote: > Allow asterisk to search through the log files, otherwise the following error is > received: > > asterisk: ERROR[23298]: cdr_csv.c:318 in csv_log: Unable to re-open master file > /var/log/asterisk//cdr-csv//Master.csv : Permission denied > Merged, thanks > Signed-off-by: Sven Vermeulen > --- > asterisk.te | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/asterisk.te b/asterisk.te > index 5439f1c..c436f9f 100644 > --- a/asterisk.te > +++ b/asterisk.te > @@ -146,6 +146,7 @@ fs_search_auto_mountpoints(asterisk_t) > > auth_use_nsswitch(asterisk_t) > > +logging_search_logs(asterisk_t) > logging_send_syslog_msg(asterisk_t) > > miscfiles_read_localization(asterisk_t)