Bug 1090971
| Summary: | SELinux is preventing /usr/bin/esmtp from 'read' accesses on the file . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vratislav Podzimek <vpodzime> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4271d77dafbc5abd06b9924af51407620790386757b110b2c9ac6cb0cea7cce5 | ||
| Fixed In Version: | selinux-policy-3.12.1-158.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-01 22:29:36 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: | |||
Please execute
# chcon -R -t mail_home_rw_t /root/.esmtp_queue
commit 7cd2c31e4b0b79f960afcc011cdc008b1bc198a0
Author: Miroslav Grepl <mgrepl>
Date: Fri Apr 25 10:13:19 2014 +0200
Add support for ~/.esmtp_queue directory
selinux-policy-3.12.1-158.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-158.fc20 Package selinux-policy-3.12.1-158.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-158.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5660/selinux-policy-3.12.1-158.fc20 then log in and leave karma (feedback). selinux-policy-3.12.1-158.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing /usr/bin/esmtp from 'read' accesses on the file . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that esmtp should be allowed read access on the 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 esmtp /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:system_mail_t:s0-s0:c0.c1023 Target Context system_u:object_r:admin_home_t:s0 Target Objects [ file ] Source esmtp Source Path /usr/bin/esmtp Port <Unknown> Host (removed) Source RPM Packages esmtp-1.0-11.fc20.i686 Target RPM Packages Policy RPM selinux-policy-3.12.1-153.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.15.0-0.rc2.git0.1.fc21.i686 #1 SMP Mon Apr 21 14:29:50 UTC 2014 i686 i686 Alert Count 1 First Seen 2014-04-24 03:39:01 CEST Last Seen 2014-04-24 03:39:01 CEST Local ID 4ce2d014-86a5-4030-ae37-ee762c00977a Raw Audit Messages type=AVC msg=audit(1398303541.416:601): avc: denied { read } for pid=15212 comm="esmtp" path="/root/.esmtp_queue/cpLcsym8/mail" dev="sda2" ino=34176801 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file type=SYSCALL msg=audit(1398303541.416:601): arch=i386 syscall=execve success=yes exit=0 a0=9ed4030 a1=9ed1458 a2=9ed70b0 a3=9ed1458 items=0 ppid=15209 pid=15212 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=21 comm=esmtp exe=/usr/bin/esmtp subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null) Hash: esmtp,system_mail_t,admin_home_t,file,read Additional info: reporter: libreport-2.2.1 hashmarkername: setroubleshoot kernel: 3.15.0-0.rc2.git0.1.fc21.i686 type: libreport Potential duplicate: bug 828094