Bug 669200
| Summary: | SELinux is preventing /usr/sbin/httpd from 'remove_name' accesses on the directory sess_2meh475kemfim65maf83cn8c00. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miguel Angelo Mello <webmaster> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, juanfr, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:fa229fe16264e3bcd22c9afea6faf7bb056e3f39f328e0848208913c41d4984c | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-12 21:46:09 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 669199 *** |
SELinux is preventing /usr/sbin/httpd from 'remove_name' accesses on the directory sess_2meh475kemfim65maf83cn8c00. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that httpd should be allowed remove_name access on the sess_2meh475kemfim65maf83cn8c00 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 /usr/sbin/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 unconfined_u:object_r:user_home_t:s0 Target Objects sess_2meh475kemfim65maf83cn8c00 [ dir ] Source httpd Source Path /usr/sbin/httpd Port <Unknown> Host (removed) Source RPM Packages httpd-2.2.17-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-19.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Wed 12 Jan 2011 06:54:25 PM BRST Last Seen Wed 12 Jan 2011 06:54:25 PM BRST Local ID 2b377b97-4c5a-476e-992c-966b9b5ba1cc Raw Audit Messages type=AVC msg=audit(1294865665.909:52): avc: denied { remove_name } for pid=1594 comm="httpd" name="sess_2meh475kemfim65maf83cn8c00" dev=sda5 ino=10490084 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir httpd,httpd_t,user_home_t,dir,remove_name type=AVC msg=audit(1294865665.909:52): avc: denied { unlink } for pid=1594 comm="httpd" name="sess_2meh475kemfim65maf83cn8c00" dev=sda5 ino=10490084 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file httpd,httpd_t,user_home_t,dir,remove_name type=SYSCALL msg=audit(1294865665.909:52): arch=x86_64 syscall=unlink success=yes exit=0 a0=7fff79ed8980 a1=7f9f62f36942 a2=30306338 a3=6b35373468656d32 items=0 ppid=1562 pid=1594 auid=4294967295 uid=500 gid=48 euid=500 suid=500 fsuid=500 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) httpd,httpd_t,user_home_t,dir,remove_name #============= httpd_t ============== allow httpd_t user_home_t:dir remove_name; allow httpd_t user_home_t:file unlink;