From 6d58857fe566707be96ad2f1e05743e1b58e2be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Tue, 19 Jun 2012 09:25:52 +0300 Subject: [PATCH] Fixed SELinux contexts from /etc/smrsh. --- sendmail/manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sendmail/manifests/init.pp b/sendmail/manifests/init.pp index 53ad628..59d9789 100644 --- a/sendmail/manifests/init.pp +++ b/sendmail/manifests/init.pp @@ -136,6 +136,10 @@ class sendmail::server inherits sendmail::common { $ssl_chain = basename($sendmail_ssl_chain) } + selinux::manage_fcontext { "/etc/smrsh(/.*)?": + type => "sendmail_exec_t", + } + case $operatingsystem { "centos","fedora": { File["/etc/sysconfig/sendmail"] {