Hide Forgot
libreport version: 2.0.7 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.4-1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/suphp from 'open' accesses on the file /var/log/suphp.log. time: Sun 04 Dec 2011 04:36:04 PM CET description: Text file, 2318 bytes
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.