| Summary: | SELinux is preventing /usr/sbin/suphp from 'open' accesses on the file /var/log/suphp.log. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sandro Mani <manisandro> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:0d2a69772bed7806c81744157e21b11ceb9e192e247fc8b1a719e424ed0f4f14 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-05 20:32:34 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Sandro Mani
2011-12-04 15:38:26 UTC
Created attachment 540348 [details]
File: description
You will need to add label for this log file # chcon -t httpd_log_t /var/log/suphp.log Looks like you created this log by hand? I see it is created as httpd_log_t. Thanks - the log was automatically created, and no relabeling was performed. I'll try deleting the log and check with which label it gets recreated this evening. Ok, let me know. Thank you. All regular now: [root@PC2 ~]$ rm /var/log/suphp.log # Open website, cause some suphp logging [root@PC2 ~]# stat /var/log/suphp.log File: `/var/log/suphp.log' Size: 3585 Blocks: 8 IO Block: 4096 regular file Device: 803h/2051d Inode: 1035 Links: 1 Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 48/ apache) Context: system_u:object_r:httpd_log_t:s0 Access: 2011-12-05 21:24:18.987121217 +0100 Modify: 2011-12-05 21:24:25.416035416 +0100 Change: 2011-12-05 21:24:25.416035416 +0100 Birth: - Shrug... Closing report. |