Red Hat Bugzilla – Bug 499701
spamassassin spamd dies because of SElinux when it is HUP(ed)
Last modified: 2012-10-15 10:06:05 EDT
Description of problem:
With Default SElinux policy kill -HUP on spamd process teminates spamd instead of re-HUPing it. With SElinux set to permissive it functions.
Version-Release number of selected component (if applicable):
SpamAssassin Server version 3.2.5
It repeats every time for a default Red Hat Linux spamassassin installation.
Steps to Reproduce:
1. install spamassassin
2. start spamd
3. kill -HUP its PID
4. spamd just dies. It does not reHUP
With SElinux in permissive mode it reHUPs as expected.
Can't exec "/usr/bin/spamd": Permission denied at /usr/bin/spamd line 2627.
spamd: restart failed: exec failed: /usr/bin/spamd -d -r /var/run/spamd.pid:
Please attach the AVC you are seeing?
Fixed in selinux-policy-2.4.6-232.el5
Preview to U4 policy is available on
You can add these rules for now using
# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
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.