Bug 560938
| Summary: | SELinux is preventing /bin/bash "getattr" access on /var/www. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Hughes <thughes> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:eabcbdb63d3bbeeafc1663c68aa882850973ed6374d4882f566a957808d6e1a2 | ||
| Fixed In Version: | selinux-policy-3.6.32-92.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-04 00:14:14 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: | |||
|
Description
Tim Hughes
2010-02-02 10:06:28 UTC
Do you have a mounted file system at /var/www? mount | grep www Were you using webmin to manage your environment? There is no file system mounted These are the permissions on the folder [hughest@hughestlpt ~]$ ll -Zald /var/www/ drwxr-xr-x. 11 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2010-01-21 00:21 /var/www/ and this this is what I have in there drwxr-xr-x. 11 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2010-01-21 00:21 . drwxr-xr-x. 22 system_u:object_r:var_t:s0 root root 4096 2010-02-04 13:48 .. drwxr-xr-x. 2 unconfined_u:object_r:httpd_sys_content_t:s0 root root 4096 2010-01-19 22:31 build drwxr-xr-x. 2 system_u:object_r:httpd_sys_script_exec_t:s0 root root 4096 2009-12-22 20:29 cgi-bin drwxr-xr-x. 3 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2009-12-18 14:59 error drwxr-xr-x. 2 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2010-01-28 16:50 html drwxr-xr-x. 3 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2009-12-18 14:59 icons drwxrwxr-x. 16 system_u:object_r:httpd_sys_content_t:s0 apache apache 4096 2010-01-21 23:19 joomla drwxr-xr-x. 3 system_u:object_r:httpd_sys_content_t:s0 root root 4096 2009-12-28 20:20 manual -rw-r--r--. 1 unconfined_u:object_r:httpd_sys_content_t:s0 root root 16328184 2009-11-12 18:53 Pinax-0.7.1-bundle.tar.gz drwxr-xr-x. 4 unconfined_u:object_r:httpd_sys_content_t:s0 root root 4096 2010-01-19 22:32 src drwxrwxr-x. 5 system_u:object_r:httpd_sys_content_t:s0 apache apache 4096 2010-01-21 01:38 wordpress Sorry forgot to add that I am not using webmin either Looks like this script is searching through the contents of /var/*/ Miroslav, I think it is safest to just add files_dontaudit_getattr_all_dirs(mysqld_safe_t) Fixed in selinux-policy-3.6.32-91.fc12 selinux-policy-3.6.32-92.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-92.fc12 selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2953 selinux-policy-3.6.32-92.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |