| Summary: | SELinux is preventing /usr/libexec/dovecot/dovecot-lda from 'read' accesses on the fifo_file fifo_file. | ||
|---|---|---|---|
| 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: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:186b9d04e6acd2c85af16471336169681472d7a826ecab2050a8d0e0818f4856 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-27 16:28:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Miroslav lets add this to F13/F14 postfix_rw_master_pipes(dovecot_deliver_t) ####################################### ## <summary> ## Allow read/write postfix master pipes ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`postfix_rw_master_pipes',` gen_require(` type postfix_master_t; ') allow $1 postfix_master_t:fifo_file rw_fifo_file_perms; ') |
SELinux is preventing /usr/libexec/dovecot/dovecot-lda from 'read' accesses on the fifo_file fifo_file. ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore dovecot-lda trying to read access the fifo_file fifo_file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /usr/libexec/dovecot/dovecot-lda /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that dovecot-lda should be allowed read access on the fifo_file fifo_file 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 deliver /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:dovecot_deliver_t:s0 Target Context system_u:system_r:postfix_master_t:s0 Target Objects fifo_file [ fifo_file ] Source deliver Source Path /usr/libexec/dovecot/dovecot-lda Port <Inconnu> Host (removed) Source RPM Packages dovecot-2.0.9-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.13-5.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-0.rc2.git3.2.fc15.x86_64 #1 SMP Wed Jan 26 01:28:23 UTC 2011 x86_64 x86_64 Alert Count 11 First Seen mer. 26 janv. 2011 18:40:33 CET Last Seen mer. 26 janv. 2011 21:10:39 CET Local ID 9edc300c-c975-4752-a27f-0e9410fb8170 Raw Audit Messages type=AVC msg=audit(1296072639.756:224): avc: denied { read } for pid=2514 comm="deliver" path="pipe:[19495]" dev=pipefs ino=19495 scontext=system_u:system_r:dovecot_deliver_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fifo_file type=AVC msg=audit(1296072639.756:224): avc: denied { write } for pid=2514 comm="deliver" path="pipe:[19495]" dev=pipefs ino=19495 scontext=system_u:system_r:dovecot_deliver_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fifo_file type=SYSCALL msg=audit(1296072639.756:224): arch=x86_64 syscall=execve success=yes exit=0 a0=7fc9668593a0 a1=7fc966859330 a2=7fc966859190 a3=7fff408bbce0 items=0 ppid=2513 pid=2514 auid=4294967295 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=4294967295 comm=deliver exe=/usr/libexec/dovecot/dovecot-lda subj=system_u:system_r:dovecot_deliver_t:s0 key=(null) Hash: deliver,dovecot_deliver_t,postfix_master_t,fifo_file,read audit2allow #============= dovecot_deliver_t ============== allow dovecot_deliver_t postfix_master_t:fifo_file { read write }; audit2allow -R #============= dovecot_deliver_t ============== allow dovecot_deliver_t postfix_master_t:fifo_file { read write };