Bug 1234035
| Summary: | SELinux is preventing sendmail from 'read' accesses on the directory .esmtp_queue. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Toni Willberg <twillber> |
| Component: | esmtp | Assignee: | Steven M. Parrish <smparrish> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | danofsatx, dominick.grift, dwalsh, itamar, jskarvad, lvrabec, mgrepl, pertusus, plautrba, smparrish |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:3b69542cb6f5394b5e98e60c43b4c4e02c8ec7d51ab0afc81547aa2e210c72ed | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-17 19:30:04 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 1149164 *** |
Description of problem: This happens out-of-box in the background. SELinux is preventing sendmail from 'read' accesses on the directory .esmtp_queue. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sendmail should be allowed read 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: # grep sendmail /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:certwatch_t:s0-s0:c0.c1023 Target Context system_u:object_r:mail_home_rw_t:s0 Target Objects .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-128.1.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.5-300.fc22.x86_64 #1 SMP Mon Jun 8 16:15:26 UTC 2015 x86_64 x86_64 Alert Count 37 First Seen 2015-04-20 16:11:02 EEST Last Seen 2015-06-20 03:13:01 EEST Local ID bb7d8037-20f2-4de0-9236-47b572bb35f1 Raw Audit Messages type=AVC msg=audit(1434759181.425:594): avc: denied { read } for pid=5686 comm="sendmail" name=".esmtp_queue" dev="dm-1" ino=4488436 scontext=system_u:system_r:certwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=dir permissive=0 Hash: sendmail,certwatch_t,mail_home_rw_t,dir,read Version-Release number of selected component: selinux-policy-3.13.1-128.1.fc22.noarch Additional info: reporter: libreport-2.6.0 hashmarkername: setroubleshoot kernel: 4.0.5-300.fc22.x86_64 type: libreport