Bug 289141
| Summary: | Refused drupal write access to /tmp | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Pawson <davep> | ||||
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-09-17 20:03:40 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: | |||||||
| Attachments: |
|
||||||
|
Description
Dave Pawson
2007-09-13 11:45:36 UTC
I have no idea what drupal is. But this looks like you have mysql tring to read a tmp directory labeled httpd_sys_script_rw_t? /tmp should never be labeled httpd_sys_script_rw_t? It isn't. That's the selinux context. You have a denial of mysqld_t searching a tmp directory labeled httpd_sys_script_rw_t. This is bad labeling. I don't know what you mean by that's the selinux context. I know it is. I believe someone has used chcon -t httpd_sys_script_rw_t on a directory named "tmp" mysql is trying to search this directory and expects it to be labeled tmp_t. Yes, it was me. I sought and failed to find better documentation on selinux for setting contexts. Only stuff I found was marked FC5. I lost xfs for the same reason. I re-installed FC7 to clear it up. Even that reports violations on a default install! Now running selinux on 'tell me' mode. Waste of space currently and bloody annoying. Clear this bug if you wish. regards If you are yum updated to latest fc7 policy and labeling is correct, you should not see avc messages. If you do please send me the /var/log/audit/audit.log. Created attachment 198101 [details]
audit log from newly installed OS
|