Bug 611182

Summary: Default configuration does not specify socket prefix
Product: [Fedora] Fedora EPEL Reporter: Felix Schwarz <fschwarz>
Component: mod_wsgiAssignee: Orphan Owner <extras-orphan>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: el5CC: bkearney, jon.dufresne, jorton, josh.kayse
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 974995 974997 (view as bug list) Environment:
Last Closed: 2017-04-06 10:37:03 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:
Bug Depends On:    
Bug Blocks: 974995, 974997    

Description Felix Schwarz 2010-07-04 06:48:24 UTC
Currently mod_wsgi does not declare WSGISocketPrefix so mod_wsgi in daemon mode tries to create a socket in /etc/httpd/logs/ which will fail.

I propose to add these lines to /etc/httpd/conf.d/wsgi.conf:

<IfModule mod_wsgi.c>
   WSGISocketPrefix /var/run/mod_wsgi
</IfModule>

Therefore new users don't have to set it explicitely and mod_wsgi on EPEL will be a bit easier to use.

Comment 1 Joe Orton 2013-10-21 21:44:33 UTC
This was corrected by fixing httpd to export the correct run-time path.  mod_wsgi now uses "/run/httpd/wsgi" as the default hard-coded prefix.

mod_wsgi-3.4-6.fc18.x86_64

Comment 2 Joe Orton 2013-10-21 21:47:05 UTC
Sorry, wrong bug page!  It would be better to fix this by "correcting" the definition of DEFAULT_REL_RUNTIMEDIR in mod_wsgi.c in EPEL, there shouldn't be a need to fix the default config.  Arguably it is a RHEL httpd bug anyway, but it's unlikely we'd change the exported DEFAULT_REL_RUNTIMEDIR in an update.

Comment 3 Fedora End Of Life 2017-04-06 10:37:03 UTC
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5
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
or Fedora EPEL, please feel free to reopen this bug against that version. If
you are unable to reopen this bug, please file a new report against the current
release. If you experience problems, please add a comment to this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.