Bug 797210

Summary: SELinux is preventing /usr/libexec/postfix/smtpd from 'remove_name' accesses on the dossier 878493.2311.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE 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:816fd6304427526df80eaa8c8ab980a32c738313cda4bb5bf1b08b67201bf150
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 18:49:04 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-02-24 15:06:46 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc4.git3.1.fc18.x86_64
reason:         SELinux is preventing /usr/libexec/postfix/smtpd from 'remove_name' accesses on the dossier 878493.2311.
time:           ven. 24 févr. 2012 15:57:53 CET

description:
:SELinux is preventing /usr/libexec/postfix/smtpd from 'remove_name' accesses on the dossier 878493.2311.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that smtpd should be allowed remove_name access on the 878493.2311 directory 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 smtpd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:postfix_smtpd_t:s0
:Target Context                system_u:object_r:postfix_spool_t:s0
:Target Objects                878493.2311 [ dir ]
:Source                        smtpd
:Source Path                   /usr/libexec/postfix/smtpd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           postfix-2.9.1-1.fc18.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-93.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-0.rc4.git3.1.fc18.x86_64 #1
:                              SMP Thu Feb 23 01:12:10 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    ven. 24 févr. 2012 15:57:37 CET
:Last Seen                     ven. 24 févr. 2012 15:57:37 CET
:Local ID                      63649b96-ded0-489d-b3a2-f62169e8debf
:
:Raw Audit Messages
:type=AVC msg=audit(1330095457.878:85): avc:  denied  { remove_name } for  pid=2311 comm="smtpd" name="878493.2311" dev="dm-1" ino=764 scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=system_u:object_r:postfix_spool_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1330095457.878:85): arch=x86_64 syscall=rename success=yes exit=0 a0=7f916cf1e1a0 a1=7f916cf1afb0 a2=43 a3=19 items=0 ppid=1011 pid=2311 auid=4294967295 uid=89 gid=89 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295 comm=smtpd exe=/usr/libexec/postfix/smtpd subj=system_u:system_r:postfix_smtpd_t:s0 key=(null)
:
:Hash: smtpd,postfix_smtpd_t,postfix_spool_t,dir,remove_name
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-02-24 18:49:04 UTC

*** This bug has been marked as a duplicate of bug 797211 ***