[icinga-checkins] icinga.org: icinga-core/rbartels/cgi-current: add access for spool directories

git at icinga.org git at icinga.org
Mon Mar 7 21:58:11 CET 2011


Module: icinga-core
Branch: rbartels/cgi-current
Commit: 76a8c19f4bfef83b9b1d5486d3319b2f38e3fc9a
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=76a8c19f4bfef83b9b1d5486d3319b2f38e3fc9a

Author: Christoph Maser <cmr at financial.com>
Date:   Wed Feb 23 18:37:11 2011 +0100

add access for spool directories

---

 selinux/el5/icinga.te |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/selinux/el5/icinga.te b/selinux/el5/icinga.te
index 78eafcd..d194bf0 100644
--- a/selinux/el5/icinga.te
+++ b/selinux/el5/icinga.te
@@ -54,8 +54,14 @@ allow icinga_t icinga_var_run_t:file create_file_perms;
 allow icinga_t icinga_var_run_t:dir rw_dir_perms;
 files_pid_filetrans(icinga_t,icinga_var_run_t,file)
 
+allow icinga_t icinga_spool_t:dir read;
+allow icinga_t icinga_spool_t:dir write;
+allow icinga_t icinga_spool_t:dir add_name;
+allow icinga_t icinga_spool_t:file create;
 allow icinga_t icinga_spool_t:dir search_dir_perms;
 allow icinga_t icinga_spool_t:fifo_file rw_file_perms;
+allow icinga_t var_spool_t:dir search;
+
 
 kernel_read_system_state(icinga_t)
 kernel_read_kernel_sysctls(icinga_t)





More information about the icinga-checkins mailing list