Bug 1517447
| Summary: | SELinux is preventing dovecot-lda from map access on the file /var/spool/mail/vdomains/example.com/user/Maildir/dovecot.index. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Juan Orti Alcaine <jorti> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.13.1-283.19.fc27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-02 16:48:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
selinux-policy-3.13.1-283.18.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502 selinux-policy-3.13.1-283.18.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502 selinux-policy-3.13.1-283.19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502 selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8225c4e502 selinux-policy-3.13.1-283.19.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |
SELinux is preventing dovecot-lda from map access on the file /var/spool/mail/vdomains/example.com/user/Maildir/dovecot.index. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dovecot-lda should be allowed map access on the dovecot.index 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: # ausearch -c 'dovecot-lda' --raw | audit2allow -M my-dovecotlda # semodule -X 300 -i my-dovecotlda.pp Additional Information: Source Context system_u:system_r:dovecot_deliver_t:s0 Target Context unconfined_u:object_r:mail_spool_t:s0 Target Objects /var/spool/mail/vdomains/example.com/user/Ma ildir/dovecot.index [ file ] Source dovecot-lda Source Path dovecot-lda Port <Unknown> Host helio Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.16.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name helio Platform Linux helio 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 Alert Count 4 First Seen 2017-11-25 11:56:43 CET Last Seen 2017-11-25 14:07:27 CET Local ID 0ae221e6-fae3-4726-8002-211850f0ae8b Raw Audit Messages type=AVC msg=audit(1511615247.524:4691): avc: denied { map } for pid=13033 comm="dovecot-lda" path="/var/spool/mail/vdomains/example.com/user/Maildir/dovecot.index" dev="dm-4" ino=278467 scontext=system_u:system_r:dovecot_deliver_t:s0 tcontext=unconfined_u:object_r:mail_spool_t:s0 tclass=file permissive=0 Hash: dovecot-lda,dovecot_deliver_t,mail_spool_t,file,map