Bug 697281 - SELinux is preventing spamc from 'write' accesses on the fifo_file fifo_file.
Summary: SELinux is preventing spamc from 'write' accesses on the fifo_file fifo_file.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:a6829a1b6cf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-17 13:06 UTC by Jeff MacDonald
Modified: 2011-04-25 00:00 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.7-40.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-25 00:00:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeff MacDonald 2011-04-17 13:06:32 UTC
SELinux is preventing spamc from 'write' accesses on the fifo_file fifo_file.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that spamc should be allowed write access on the fifo_file fifo_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep spamc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:spamc_t:s0
Target Context                system_u:system_r:postfix_master_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        spamc
Source Path                   spamc
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-37.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.35.12-88.fc14.i686 #1 SMP Thu Mar 31 22:12:38
                              UTC 2011 i686 i686
Alert Count                   1
First Seen                    Sun 17 Apr 2011 09:03:56 AM EDT
Last Seen                     Sun 17 Apr 2011 09:03:56 AM EDT
Local ID                      f962b8ca-8f9c-4563-9144-df95977b5975

Raw Audit Messages
type=AVC msg=audit(1303045436.26:30): avc:  denied  { write } for  pid=2547 comm="spamc" path="pipe:[14669]" dev=pipefs ino=14669 scontext=system_u:system_r:spamc_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fifo_file


Hash: spamc,spamc_t,postfix_master_t,fifo_file,write

audit2allow

#============= spamc_t ==============
#!!!! This avc is allowed in the current policy

allow spamc_t postfix_master_t:fifo_file write;

audit2allow -R

#============= spamc_t ==============
#!!!! This avc is allowed in the current policy

allow spamc_t postfix_master_t:fifo_file write;

Comment 1 Miroslav Grepl 2011-04-18 05:41:31 UTC
Fixed in selinux-policy-3.9.7-39.fc14

Comment 2 Fedora Update System 2011-04-21 14:50:26 UTC
selinux-policy-3.9.7-40.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-40.fc14

Comment 3 Fedora Update System 2011-04-21 22:26:00 UTC
Package selinux-policy-3.9.7-40.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-40.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-40.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-04-24 23:59:11 UTC
selinux-policy-3.9.7-40.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.