Skip to contentSkip to conversation

Correct file context for amavisd configuration file

PATCH New Sven Vermeulen 2 participants 2 messages Nov 22, 2011 – Feb 8, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 amavis.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
amavis.fc +1 -1
index d96fdfa..3b66910 100644
@@ -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)
 
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 Correct file context for amavisd configuration file

Quoted 2 lines · Sven Vermeulen

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

Merged.

Quoted 16 lines
---
 amavis.fc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
amavis.fc +1 -1
index d96fdfa..3b66910 100644
@@ -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)
 
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com