Bug 783691

Summary: SELinux is preventing /usr/sbin/postdrop from 'getattr' accesses on the None .
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:018de45f3b135793b1206a10350ceff2df41bc03cbc1d6ebcee6c8c87253200b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-24 16:54:03 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 Nicolas Mailhot 2012-01-21 18:04:47 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.1-8.fc17.x86_64
reason:         SELinux is preventing /usr/sbin/postdrop from 'getattr' accesses on the None .
time:           sam. 21 janv. 2012 18:57:31 CET

description:
:SELinux is preventing /usr/sbin/postdrop from 'getattr' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that postdrop should be allowed getattr access on the  <Inconnu> 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 postdrop /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:postfix_postdrop_t:s0-s0:c0.c102
:                              3
:Target Context                system_u:system_r:init_t:s0
:Target Objects                 [ None ]
:Source                        postdrop
:Source Path                   /usr/sbin/postdrop
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           postfix-2.8.7-5.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-76.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.1-5.fc17.x86_64 #1 SMP Tue Jan
:                              17 18:57:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    sam. 21 janv. 2012 17:00:12 CET
:Last Seen                     sam. 21 janv. 2012 17:00:12 CET
:Local ID                      89062253-82e0-4896-aacd-3cde3cd60564
:
:Raw Audit Messages
:type=AVC msg=audit(1327161612.555:397): avc:  denied  { getattr } for  pid=5491 comm="postdrop" path="socket:[16777]" dev=sockfs ino=16777 scontext=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socketnode=(removed) type=SYSCALL msg=audit(1327161612.555:397): arch=c000003e syscall=5 success=yes exit=0 a0=2 a1=7fff20c4aec0 a2=7fff20c4aec0 a3=13 items=0 ppid=5478 pid=5491 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=90 sgid=90 fsgid=90 tty=(none) ses=8 comm="postdrop" exe="/usr/sbin/postdrop" subj=system_u:system_r:postfix_postdrop_t:s0-s0:c0.c1023 key=(null)
:
:
:Hash: postdrop,postfix_postdrop_t,init_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Daniel Walsh 2012-01-24 16:54:03 UTC
Fixed in selinux-policy-3.10.0-80.fc17