From c7d064b58ed1a72276e197654139d920d7fecf40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Mon, 4 Oct 2010 08:24:22 +0300 Subject: [PATCH] Fixed SELinux contexts from apache logrotate script. --- apache/manifests/init.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apache/manifests/init.pp b/apache/manifests/init.pp index 6f8821b..e9ef32c 100644 --- a/apache/manifests/init.pp +++ b/apache/manifests/init.pp @@ -43,6 +43,9 @@ class apache::common { mode => 0755, owner => root, group => root, + seluser => "system_u", + selrole => "object_r", + seltype => "httpd_rotatelogs_exec_t", } cron { "www-logrotate":