2011-11-22 19:32:08

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] Correct file context for amavisd configuration file


The amavis daemon configuration file is /etc/amavisd.conf, not /etc/amavis.conf.
Keeping /etc/amavis.conf for backwards compatibility.

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

diff --git a/amavis.fc b/amavis.fc
index d96fdfa..3b66910 100644
--- a/amavis.fc
+++ b/amavis.fc
@@ -1,5 +1,5 @@

-/etc/amavis\.conf -- gen_context(system_u:object_r:amavis_etc_t,s0)
+/etc/amavis(d)?\.conf -- gen_context(system_u:object_r:amavis_etc_t,s0)
/etc/amavisd(/.*)? gen_context(system_u:object_r:amavis_etc_t,s0)
/etc/rc\.d/init\.d/amavis -- gen_context(system_u:object_r:amavis_initrc_exec_t,s0)

--
1.7.3.4


2012-02-08 20:37:52

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] Correct file context for amavisd configuration file

On 11/22/11 14:32, Sven Vermeulen wrote:
> The amavis daemon configuration file is /etc/amavisd.conf, not /etc/amavis.conf.
> Keeping /etc/amavis.conf for backwards compatibility.

Merged.

> Signed-off-by: Sven Vermeulen <[email protected]>
> ---
> amavis.fc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/amavis.fc b/amavis.fc
> index d96fdfa..3b66910 100644
> --- a/amavis.fc
> +++ b/amavis.fc
> @@ -1,5 +1,5 @@
>
> -/etc/amavis\.conf -- gen_context(system_u:object_r:amavis_etc_t,s0)
> +/etc/amavis(d)?\.conf -- gen_context(system_u:object_r:amavis_etc_t,s0)
> /etc/amavisd(/.*)? gen_context(system_u:object_r:amavis_etc_t,s0)
> /etc/rc\.d/init\.d/amavis -- gen_context(system_u:object_r:amavis_initrc_exec_t,s0)
>


--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com