| Summary: | SELinux is preventing /usr/sbin/httpd from 'open' accesses on the file psched. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | xr_ma <xiangruma> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:1d7106005da23176cf7bfe2066f75ad9736117f48a9d5af41eb1f511e50adfe5 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-07 10:34:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 666986 *** |
SELinux is preventing /usr/sbin/httpd from 'open' accesses on the file psched. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that httpd should be allowed open access on the psched 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 httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:httpd_t:s0 Target Context system_u:object_r:proc_net_t:s0 Target Objects psched [ file ] Source httpd Source Path /usr/sbin/httpd Port <未知> Host (removed) Source RPM Packages httpd-2.2.17-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-31.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux localhost.localdomain 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen 2011年03月05日 星期六 18时13分02秒 Last Seen 2011年03月05日 星期六 18时13分02秒 Local ID 093ac69c-bfc6-4714-8eec-626fb314d8df Raw Audit Messages type=AVC msg=audit(1299319982.871:43): avc: denied { open } for pid=1933 comm="httpd" name="psched" dev=proc ino=4026531970 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file type=SYSCALL msg=audit(1299319982.871:43): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffca439800 a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=1933 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) Hash: httpd,httpd_t,proc_net_t,file,open audit2allow #============= httpd_t ============== allow httpd_t proc_net_t:file open; audit2allow -R #============= httpd_t ============== allow httpd_t proc_net_t:file open;