Bug 699187

Summary: SELinux is preventing /usr/lib/mailman/mail/mailman from read access on the fifo_file fifo_file
Product: [Fedora] Fedora Reporter: Anthony Messina <amessina>
Component: selinux-policy-targetedAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: dwalsh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.9.7-46.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-30 00:33:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anthony Messina 2011-04-24 02:39:53 UTC
Using the following:

mailman-2.1.13-8.fc14.x86_64
postfix-2.7.3-1.fc14.x86_64
selinux-policy-3.9.7-37.fc14.noarch
selinux-policy-targeted-3.9.7-37.fc14.noarch

and with the following defaults:

~]# ls -lZ /etc/aliases
-rw-r--r--. root root system_u:object_r:etc_aliases_t:s0 /etc/aliases


~]# ls -lZ /etc/mailman
-rw-r-----. root mailman system_u:object_r:mailman_data_t:s0 adm.pw
-rw-rw----. root mailman system_u:object_r:mailman_data_t:s0 aliases
-rw-r--r--. root mailman system_u:object_r:mailman_data_t:s0 aliases.db
-rw-r--r--. root mailman system_u:object_r:mailman_data_t:s0 aliases.old
lrwxrwxrwx. root mailman system_u:object_r:mailman_data_t:s0 mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py
-rw-r--r--. root mailman system_u:object_r:mailman_data_t:s0 sitelist.cfg

I now receive the following AVCs each time mail is posted through one of my lists, having just upgraded from the previously released Mailman.

Raw Audit Messages
type=AVC msg=audit(1303610064.233:77448): avc:  denied  { read } for  pid=8485 comm="mailman" path="pipe:[17035]" dev=pipefs ino=17035 scontext=system_u:system_r:mailman_mail_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fifo_file


type=AVC msg=audit(1303610064.233:77448): avc:  denied  { write } for  pid=8485 comm="mailman" path="pipe:[17035]" dev=pipefs ino=17035 scontext=system_u:system_r:mailman_mail_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fifo_file


type=SYSCALL msg=audit(1303610064.233:77448): arch=x86_64 syscall=execve success=yes exit=0 a0=7f054812cbb0 a1=7f054812cbf0 a2=7f054812be90 a3=7ffffb727dc0 items=0 ppid=8466 pid=8485 auid=4294967295 uid=99 gid=99 euid=99 suid=99 fsuid=99 egid=41 sgid=41 fsgid=41 tty=(none) ses=4294967295 comm=mailman exe=/usr/lib/mailman/mail/mailman subj=system_u:system_r:mailman_mail_t:s0 key=(null)

Hash: mailman,mailman_mail_t,postfix_master_t,fifo_file,read

Comment 1 Daniel Walsh 2011-04-25 14:41:13 UTC
Fixed in selinux-policy-3.9.16-16.fc15

Comment 2 Miroslav Grepl 2011-04-26 07:55:05 UTC
Fixed in selinux-policy-3.9.7-41.fc14

Comment 3 Anthony Messina 2011-07-01 20:22:43 UTC
I no longer see this issue.  I am using selinux-policy-targeted-3.9.16-30.fc15.noarch

Comment 4 Fedora Update System 2011-10-20 11:57:20 UTC
selinux-policy-3.9.7-46.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-46.fc14

Comment 5 Fedora Update System 2011-10-22 08:20:29 UTC
Package selinux-policy-3.9.7-46.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.7-46.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14734
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-10-30 00:33:16 UTC
selinux-policy-3.9.7-46.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.