2012-10-19 08:18:53

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] Update logwatch location in file context

The logwatch application in Gentoo installs the logwatch.pl file as
/usr/sbin/logwatch.pl.

Signed-off-by: Sven Vermeulen <[email protected]>
---
logwatch.fc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/logwatch.fc b/logwatch.fc
index ce24225..9c04f91 100644
--- a/logwatch.fc
+++ b/logwatch.fc
@@ -1,5 +1,6 @@
-/usr/sbin/logcheck -- gen_context(system_u:object_r:logwatch_exec_t,s0)
/usr/sbin/epylog -- gen_context(system_u:object_r:logwatch_exec_t,s0)
+/usr/sbin/logcheck -- gen_context(system_u:object_r:logwatch_exec_t,s0)
+/usr/sbin/logwatch -- gen_context(system_u:object_r:logwatch_exec_t,s0)

/usr/share/logwatch/scripts/logwatch\.pl -- gen_context(system_u:object_r:logwatch_exec_t, s0)

--
1.7.8.6