Bug 604902 - SELinux is preventing sendmail "write" access on /var/spool/fcron/fcr-8yxZH1 (deleted).
Summary: SELinux is preventing sendmail "write" access on /var/spool/fcron/fcr-8y...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:c3e6505f4b9...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-17 00:06 UTC by William Hill
Modified: 2010-07-06 17:08 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.19-33.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-07-06 17:08:53 UTC

Attachments (Terms of Use)

Description William Hill 2010-06-17 00:06:47 UTC

SELinux is preventing sendmail "write" access on /var/spool/fcron/fcr-8yxZH1

Detailed Description:

SELinux denied access requested by sendmail. It is not expected that this access
is required by sendmail and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:system_mail_t:SystemLow-
Target Context                system_u:object_r:cron_spool_t:SystemLow
Target Objects                /var/spool/fcron/fcr-8yxZH1 (deleted) [ file ]
Source                        sendmail
Source Path                   sendmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-23.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Fri Jun 11
                              09:42:24 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Wed 16 Jun 2010 08:00:02 PM EDT
Last Seen                     Wed 16 Jun 2010 08:00:02 PM EDT
Local ID                      7512fe4d-1b09-4807-a984-a3e091f113d2
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1276732802.274:202): avc:  denied  { write } for  pid=19134 comm="sendmail" path=2F7661722F73706F6F6C2F6663726F6E2F6663722D3879785A4831202864656C6574656429 dev=sda7 ino=729089 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cron_spool_t:s0 tclass=file

Hash String generated from  catchall,sendmail,system_mail_t,cron_spool_t,file,write
audit2allow suggests:

#============= system_mail_t ==============
allow system_mail_t cron_spool_t:file write;

Comment 1 William Hill 2010-06-17 00:14:29 UTC
I am not certain where to post this - but you cannot pull down seedit using yum because it is considered in conflict with the targeted, ML, etc policies. This interferes in bug hunting on selinux.( I had to pull down the rpm and install it as an archive ).

Comment 2 Daniel Walsh 2010-06-17 13:08:35 UTC
seedit is not a package you should be installing.

This looks like a redirection of stdout which is being denied




to mta.te

Comment 3 Miroslav Grepl 2010-06-21 19:28:59 UTC
Fixed in selinux-policy-3.7.19-31.fc13.

Comment 4 Fedora Update System 2010-06-30 19:54:35 UTC
selinux-policy-3.7.19-33.fc13 has been submitted as an update for Fedora 13.

Comment 5 Fedora Update System 2010-07-01 18:48:26 UTC
selinux-policy-3.7.19-33.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-33.fc13

Comment 6 Fedora Update System 2010-07-06 17:06:52 UTC
selinux-policy-3.7.19-33.fc13 has been pushed to the Fedora 13 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.