Bug 821645
Summary: | SELinux is preventing /usr/sbin/lighttpd from 'create' accesses on the sock_file php-fastcgi-1.socket-0. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan <stefan.jakobs> |
Component: | lighttpd | Assignee: | Matthias Saou <matthias> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | dominick.grift, dwalsh, matthias, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:11dec72108549388a7cf13fa9e81526641908af52d8d9427a7b088d32dcd9ab1 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-14 01:56:36 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
Stefan
2012-05-15 08:30:13 UTC
What directory is it attempting to create this socket in? It's /var/lib/lighttpd/sockets # ls -lZ /var/lib/lighttpd/sockets/php-fastcgi-* srwxr-xr-x. lighttpd lighttpd system_u:object_r:var_lib_t:s0 /var/lib/lighttpd/sockets/php-fastcgi-1.socket-0 srwxr-xr-x. lighttpd lighttpd system_u:object_r:var_lib_t:s0 /var/lib/lighttpd/sockets/php-fastcgi-2.socket-0 # ls -ldZ /var/lib/lighttpd/sockets drwxrwxrwx. lighttpd lighttpd unconfined_u:object_r:var_lib_t:s0 /var/lib/lighttpd/sockets Execute # chcon -R -t httpd_var_lib_t /var/lib/lighttpd Also what does # rpm -qf /var/lib/lighttpd # LANG=C rpm -qf /var/lib/lighttpd file /var/lib/lighttpd is not owned by any package But /etc/lighttpd/lighttpd.conf says: var.home_dir = "/var/lib/lighttpd" which is the default as shipped by fedora. Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. Just a note if some one stumbles upon this: # chcon -R -t httpd_var_run_t /var/lib/lighttpd worked for me. |