| Summary: | SELinux is preventing /bin/bash from 'getattr' accesses on the file /usr/sbin/exim. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | geminic86 |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ec72e19c6daef30235ba1f50d126a20b6dce4da50ce7dc8c9a0341948aa22132 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-16 14:42:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Looks like a postfix-script just detects whether exim binary exists. Does everything work correctly? This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |
SELinux is preventing /bin/bash from 'getattr' accesses on the file /usr/sbin/exim. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed getattr access on the exim 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 postfix-script /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:postfix_master_t:SystemLow Target Context system_u:object_r:exim_exec_t:SystemLow Target Objects /usr/sbin/exim [ file ] Source postfix-script Source Path /bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.1.7-4.fc14 Target RPM Packages exim-4.76-1.fc14 Policy RPM selinux-policy-3.9.7-46.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.14-100.fc14.i686 #1 SMP Fri Oct 21 19:14:19 UTC 2011 i686 i686 Alert Count 1 First Seen Tue 25 Oct 2011 04:11:43 PM EDT Last Seen Tue 25 Oct 2011 04:11:43 PM EDT Local ID 89abd420-449b-4f94-8305-2b525a27fd92 Raw Audit Messages type=AVC msg=audit(1319573503.340:20): avc: denied { getattr } for pid=3252 comm="postfix-script" path="/usr/sbin/exim" dev=dm-3 ino=88877 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:exim_exec_t:s0 tclass=file type=SYSCALL msg=audit(1319573503.340:20): arch=i386 syscall=stat64 success=no exit=EACCES a0=9a115b0 a1=bf9c6378 a2=b76ff4 a3=9 items=0 ppid=3219 pid=3252 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=postfix-script exe=/bin/bash subj=system_u:system_r:postfix_master_t:s0 key=(null) Hash: postfix-script,postfix_master_t,exim_exec_t,file,getattr audit2allow #============= postfix_master_t ============== allow postfix_master_t exim_exec_t:file getattr; audit2allow -R #============= postfix_master_t ============== allow postfix_master_t exim_exec_t:file getattr;