| Summary: | SELinux is preventing /usr/libexec/postfix/cleanup from 'search' accesses on the dossier /var/spool/postfix/defer. | ||
|---|---|---|---|
| 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: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl, nicolas.mailhot |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:cd229257db958533a1b25564be7865458458877167166b9f045bc04533c3a2db | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-19 13:14:24 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-5.fc16 |
SELinux is preventing /usr/libexec/postfix/cleanup from 'search' accesses on the dossier /var/spool/postfix/defer. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that cleanup should be allowed search access on the defer 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 cleanup /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:postfix_cleanup_t:s0 Target Context system_u:object_r:postfix_spool_maildrop_t:s0 Target Objects /var/spool/postfix/defer [ dir ] Source cleanup Source Path /usr/libexec/postfix/cleanup Port <Inconnu> Host (removed) Source RPM Packages postfix-2.8.4-1.fc16 Target RPM Packages postfix-2.8.4-1.fc16 Policy RPM selinux-policy-3.10.0-4.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.0-0.rc6.git6.1.fc16.x86_64 #1 SMP Sun Jul 10 16:00:07 UTC 2011 x86_64 x86_64 Alert Count 26 First Seen dim. 17 juil. 2011 16:30:15 CEST Last Seen dim. 17 juil. 2011 16:55:53 CEST Local ID aed06a4d-c18f-482d-8578-dd159b0dfa86 Raw Audit Messages type=AVC msg=audit(1310914553.320:144): avc: denied { search } for pid=15586 comm="cleanup" name="defer" dev=dm-1 ino=92344 scontext=system_u:system_r:postfix_cleanup_t:s0 tcontext=system_u:object_r:postfix_spool_maildrop_t:s0 tclass=dir type=SYSCALL msg=audit(1310914553.320:144): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7fd695cb9d20 a1=0 a2=37 a3=7fff4ba5e690 items=0 ppid=1594 pid=15586 auid=4294967295 uid=89 gid=89 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295 comm=cleanup exe=/usr/libexec/postfix/cleanup subj=system_u:system_r:postfix_cleanup_t:s0 key=(null) Hash: cleanup,postfix_cleanup_t,postfix_spool_maildrop_t,dir,search audit2allow #============= postfix_cleanup_t ============== allow postfix_cleanup_t postfix_spool_maildrop_t:dir search; audit2allow -R #============= postfix_cleanup_t ============== allow postfix_cleanup_t postfix_spool_maildrop_t:dir search;