Description of problem: I've created a new procmail recipe to allow users to email the server to turn vacation on and off. The orignal script is here:- http://ahab.com/code/vacationrc Selinux errors as follows: - SELinux is preventing sh (procmail_t) "getattr" to /bin/hostname (hostname_exec_t). SELinux is preventing /usr/bin/procmail (procmail_t) "execute" to hostname (hostname_exec_t). SELinux is preventing the /usr/bin/procmail from using potentially mislabeled files (tmp). The errors said to file bugzilla Version-Release number of selected component (if applicable): How reproducible: Everytime the script is used Steps to Reproduce: 1. Install script into .procmailrc 2. Turn script on in procmail 3. Actual results: Vacation message is not created Expected results: Vacation message to be sent Additional info:
Created attachment 302108 [details] SELinux error log
You can add this rule using audit2allow # grep procmail /var/log/audit/audit.log | audit2allow -M myprocmail # semodule -i myprocmail.pp This will be in either 5.2 or 5.3 Fixed in selinux-policy-2.4.6-138.el5
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0163.html