From 6bacdd65ee2124fb79a8b2711a885f6bb0686c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 6 Feb 2013 10:31:46 +0200 Subject: [PATCH] Fixed SELinux context from munin cache directory for use with munin cgi scripts. --- munin/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/munin/manifests/init.pp b/munin/manifests/init.pp index bc7db4c..431ae5b 100644 --- a/munin/manifests/init.pp +++ b/munin/manifests/init.pp @@ -244,11 +244,11 @@ class munin::server { mode => "0775", owner => "munin", group => $apache::sslserver::group, - seltype => "httpd_munin_rw_content_t", + seltype => "httpd_sys_rw_content_t", require => Package["munin"], } selinux::manage_fcontext { "/var/cache/munin(/.*)?": - type => "httpd_munin_rw_content_t", + type => "httpd_sys_rw_content_t", before => File["/var/cache/munin"], } mount { "/var/cache/munin":