Bug 1583170
| Summary: | SELinux is preventing sendmail from 'open' accesses on the directory /root/.esmtp_queue. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | henoc <hcarpio02> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | 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: | abrt_hash:8d7d8e7a3b4f12c55ca372e44e78b13921c53278920d0fb260dee088c80ac74b; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-02 22:44:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1582701 *** |
Description of problem: After upgrading from fedora 26 to fedora 27. SELinux is preventing sendmail from 'open' accesses on the directory /root/.esmtp_queue. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sendmail should be allowed open access on the .esmtp_queue 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: # ausearch -c 'sendmail' --raw | audit2allow -M my-sendmail # semodule -X 300 -i my-sendmail.pp Additional Information: Source Context system_u:system_r:fsdaemon_t:s0 Target Context system_u:object_r:mail_home_rw_t:s0 Target Objects /root/.esmtp_queue [ dir ] Source sendmail Source Path sendmail Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.34.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.16.11-200.fc27.x86_64 #1 SMP Tue May 22 18:36:25 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-05-28 07:40:27 AST Last Seen 2018-05-28 07:40:32 AST Local ID 39c18905-d5a0-441f-b95f-2a33d776b81d Raw Audit Messages type=AVC msg=audit(1527507632.550:238): avc: denied { open } for pid=1999 comm="sendmail" path="/root/.esmtp_queue" dev="sda2" ino=1704996 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=dir permissive=1 Hash: sendmail,fsdaemon_t,mail_home_rw_t,dir,open Version-Release number of selected component: selinux-policy-3.13.1-283.34.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.16.11-200.fc27.x86_64 type: libreport