2012-10-19 08:43:49

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH v2 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..935147d 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\.pl -- 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


2012-10-19 09:41:23

by dominick.grift

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



On Fri, 2012-10-19 at 10:43 +0200, Sven Vermeulen wrote:
> 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..935147d 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\.pl -- 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)
>

This was merged , thanks