| Summary: | SELinux is preventing /usr/libexec/postfix/smtpd from 'write' accesses on the dossier /var/spool/postfix/incoming. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:eaf26b5dc4b43878fe3372c9ce1b807fd65ad33d1e1c77eb1cfd50fe19d13935 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 18:48:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.10.0-94.fc17 *** Bug 797210 has been marked as a duplicate of this bug. *** |
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 'write' accesses on the dossier /var/spool/postfix/incoming. time: ven. 24 févr. 2012 15:58:07 CET description: :SELinux is preventing /usr/libexec/postfix/smtpd from 'write' accesses on the dossier /var/spool/postfix/incoming. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that smtpd should be allowed write access on the incoming 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 /var/spool/postfix/incoming [ 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 postfix-2.9.1-1.fc18.x86_64 :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 7 :First Seen ven. 24 févr. 2012 15:56:37 CET :Last Seen ven. 24 févr. 2012 15:57:37 CET :Local ID 53caa949-7563-4f7a-9e2a-e7b0d5b3dc74 : :Raw Audit Messages :type=AVC msg=audit(1330095457.877:84): avc: denied { write } for pid=2311 comm="smtpd" name="incoming" dev="dm-1" ino=92348 scontext=system_u:system_r:postfix_smtpd_t:s0 tcontext=system_u:object_r:postfix_spool_t:s0 tclass=dir : : :type=AVC msg=audit(1330095457.877:84): avc: denied { add_name } for pid=2311 comm="smtpd" name="878493.2311" 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.877:84): arch=x86_64 syscall=open success=yes exit=EXDEV a0=7f916cf1e1a0 a1=c2 a2=0 a3=7f916ced5512 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,write : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :