Bug 573083

Summary: SELinux is preventing /usr/sbin/sendmail.sendmail "read" access on /var/spool/at/spool/a0000401429395 (deleted).
Product: [Fedora] Fedora Reporter: Bruce Cowan <bruce>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:def652e62f77b622398d0406809fb273bae4ffb01dcbc6cae1fb6326a8815342
Fixed In Version: selinux-policy-3.7.15-4.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-25 22:29:35 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 Bruce Cowan 2010-03-12 19:34:35 UTC
Summary:

SELinux is preventing /usr/sbin/sendmail.sendmail "read" access on
/var/spool/at/spool/a0000401429395 (deleted).

Detailed Description:

[sendmail has a permissive type (system_mail_t). This access was not denied.]

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
report.

Additional Information:

Source Context                unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_cron_spool_t:s0
Target Objects                /var/spool/at/spool/a0000401429395 (deleted) [
                              file ]
Source                        sendmail
Source Path                   /usr/sbin/sendmail.sendmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sendmail-8.14.4-3.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.11-1.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux Scooby-Dum 2.6.33-1.fc13.i686 #1 SMP Wed Feb
                              24 20:11:36 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Fri 12 Mar 2010 19:33:01 GMT
Last Seen                     Fri 12 Mar 2010 19:33:01 GMT
Local ID                      a61efcdd-f71d-42a9-b15a-93aef9a1c000
Line Numbers                  

Raw Audit Messages            

node=Scooby-Dum type=AVC msg=audit(1268422381.193:16736): avc:  denied  { read } for  pid=2342 comm="sendmail" path=2F7661722F73706F6F6C2F61742F73706F6F6C2F6130303030343031343239333935202864656C6574656429 dev=sda1 ino=265519 scontext=unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_cron_spool_t:s0 tclass=file

node=Scooby-Dum type=SYSCALL msg=audit(1268422381.193:16736): arch=40000003 syscall=11 success=yes exit=0 a0=af350f a1=bfa2472c a2=bfa25b8c a3=3 items=0 ppid=2335 pid=2342 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=489 sgid=489 fsgid=489 tty=(none) ses=11 comm="sendmail" exe="/usr/sbin/sendmail.sendmail" subj=unconfined_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,sendmail,system_mail_t,user_cron_spool_t,file,read
audit2allow suggests:

#============= system_mail_t ==============
allow system_mail_t user_cron_spool_t:file read;

Comment 1 Daniel Walsh 2010-03-12 19:51:41 UTC
Fixed in selinux-policy-3.7.14-2.fc13.noarch

Comment 2 Fedora Update System 2010-03-23 13:33:02 UTC
selinux-policy-3.7.15-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-4.fc13

Comment 3 Fedora Update System 2010-03-24 00:47:14 UTC
selinux-policy-3.7.15-4.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.15-4.fc13

Comment 4 Fedora Update System 2010-03-25 22:28:56 UTC
selinux-policy-3.7.15-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.