From ae32fb7e7b08bc3c1ea65d7db95e752eae376141 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mon, 30 Apr 2007 15:09:15 +0000 Subject: [PATCH] trivial aide fix from dan --- policy/modules/services/aide.fc | 1 + policy/modules/services/aide.te | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/policy/modules/services/aide.fc b/policy/modules/services/aide.fc index be414347f..8c1b8b4b5 100644 --- a/policy/modules/services/aide.fc +++ b/policy/modules/services/aide.fc @@ -2,4 +2,5 @@ /var/lib/aide(/.*) gen_context(system_u:object_r:aide_db_t,mls_systemhigh) +/var/log/aide(/.*)? gen_context(system_u:object_r:aide_log_t,mls_systemhigh) /var/log/aide.log -- gen_context(system_u:object_r:aide_log_t,mls_systemhigh) diff --git a/policy/modules/services/aide.te b/policy/modules/services/aide.te index 84fe2ebb1..2e345f04f 100644 --- a/policy/modules/services/aide.te +++ b/policy/modules/services/aide.te @@ -1,5 +1,5 @@ -policy_module(aide,1.0.0) +policy_module(aide,1.0.1) ######################################## # @@ -32,7 +32,7 @@ send_audit_msgs_pattern(aide_t) manage_files_pattern(aide_t,aide_db_t,aide_db_t) # logs -allow aide_t aide_log_t:file manage_file_perms; +manage_files_pattern(aide_t, aide_log_t, aide_log_t) logging_log_filetrans(aide_t,aide_log_t,file) files_read_all_files(aide_t)