Bug 427809

Summary: SELinux is preventing /usr/bin/procmail (procmail_t) "read" to pipe (crond_t).
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-05 22:17:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Jones 2008-01-07 17:24:53 UTC
avc: denied { read } for comm=procmail dev=pipefs egid=500 euid=500
exe=/usr/bin/procmail exit=0 fsgid=500 fsuid=500 gid=500 items=0
path=pipe:[265116] pid=4367 scontext=system_u:system_r:procmail_t:s0-s0:c0.c1023
sgid=500 subj=system_u:system_r:procmail_t:s0-s0:c0.c1023 suid=500
tclass=fifo_file tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tty=(none)
uid=500 


I suspect this is why I stopped getting mail from crond.

Comment 1 Dave Jones 2008-01-07 17:25:30 UTC
this is selinux-policy-3.0.8-73.fc8, and using exim as an MTA instead of sendmail.

Comment 2 Daniel Walsh 2008-01-08 16:06:52 UTC
You can allow this for now by executing 

# audit2allow -M mypol -i /var/log/audit/audit.log 
# semodule -i mypol.pp

Fixed in selinux-policy-3.0.8-74.fc8

Comment 3 Daniel Walsh 2008-03-05 22:17:20 UTC
Bugs have been in modified for over one month.  Closing as fixed in current
release please reopen if the problem still persists.