Bug 1095239
Summary: | After updating php to 5.5.12 version stop working accesing from nginx to unix socket | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
Component: | php | Assignee: | Joe Orton <jorton> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | fedora, jorton, mikhail.v.gavrilov, rcollet |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-07 12:12:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mikhail
2014-05-07 10:42:02 UTC
# ss -lp | grep php u_str LISTEN 0 128 /var/run/php-fpm/crmdev.sock 705591 * 0 users:(("php-fpm",pid=14178,fd=0),("php-fpm",pid=14177,fd=0),("php-fpm",pid=14176,fd=0),("php-fpm",pid=14175,fd=0),("php-fpm",pid=14174,fd=0),("php-fpm",pid=14173,fd=8)) To fix CVE-2014-0185, the Unix socket default permission have change (from 0666 to 0660). You have to set it using "listen.mode" (or change nginx / fpm user / group). Notice : - default configuration use network socket; so is not affected - explained on https://admin.fedoraproject.org/updates/FEDORA-2014-5960 I add listen.owner = nginx listen.group = nginx in file /etc/php-fpm.d/mikhail.conf and it solve this problem |