[SAC] [OSGeo] #1730: pyWPS executes out of /etc

#1730: pyWPS executes out of /etc
-----------------------+---------------------------
Reporter: darkblueb | Owner: live-demo@…
     Type: defect | Status: new
Priority: normal | Milestone: OSGeoLive10.0
Component: LiveDVD | Keywords: pyWPS, wsgi
-----------------------+---------------------------
generally not good to execute code from /etc
(from Apache2 mod-info diagnostics)
{{{

     In file: /etc/apache2/conf-enabled/pywps.conf
        1: WSGIScriptAlias /pywps/wps.py /etc/pywps/wps.py

}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1730&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1730: pyWPS executes out of /etc
-------------------------+----------------------------
Reporter: darkblueb | Owner: live-demo@…
     Type: defect | Status: new
Priority: normal | Milestone: OSGeoLive10.0
Component: LiveDVD | Resolution:
Keywords: pyWPS, wsgi |
-------------------------+----------------------------

Comment (by tomkralidis):

Pull request issued in https://github.com/OSGeo/OSGeoLive/pull/115/files

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1730#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1730: pyWPS executes out of /etc
-------------------------+----------------------------
Reporter: darkblueb | Owner: live-demo@…
     Type: defect | Status: new
Priority: critical | Milestone: OSGeoLive10.0
Component: LiveDVD | Resolution:
Keywords: pyWPS, wsgi |
-------------------------+----------------------------
Changes (by kalxas):

* priority: normal => critical

Comment:

After moving to /usr/local/share, still this error message:
{{{
[Thu Jun 09 19:33:24.874903 2016] [mpm_prefork:notice] [pid 3952] AH00169:
caught SIGTERM, shutting down
[Thu Jun 09 19:33:25.903033 2016] [wsgi:warn] [pid 4238] mod_wsgi:
Compiled for Python/2.7.11.
[Thu Jun 09 19:33:25.903041 2016] [wsgi:warn] [pid 4238] mod_wsgi: Runtime
using Python/2.7.11+.
[Thu Jun 09 19:33:25.916066 2016] [mpm_prefork:notice] [pid 4238] AH00163:
Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 mod_wsgi/4.3.0 Python/2.7.11+
configured -- resuming normal operations
[Thu Jun 09 19:33:25.916085 2016] [core:notice] [pid 4238] AH00094:
Command line: '/usr/sbin/apache2'
[Thu Jun 09 19:48:41.673504 2016] [authz_core:error] [pid 4249] [client
127.0.0.1:39702] AH01630: client denied by server configuration:
/usr/local/share/pywps/wps.py
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1730#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1730: pyWPS executes out of /etc
-------------------------+----------------------------
Reporter: darkblueb | Owner: live-demo@…
     Type: defect | Status: new
Priority: critical | Milestone: OSGeoLive10.0
Component: LiveDVD | Resolution:
Keywords: pyWPS, wsgi |
-------------------------+----------------------------

Comment (by kalxas):

Fixed in master:

https://github.com/OSGeo/OSGeoLive/commit/4f5e49d24ae4e7def3b05c753665df31e9e865f9

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1730#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1730: pyWPS executes out of /etc
-------------------------+----------------------------
Reporter: darkblueb | Owner: live-demo@…
     Type: defect | Status: closed
Priority: critical | Milestone: OSGeoLive10.0
Component: LiveDVD | Resolution: fixed
Keywords: pyWPS, wsgi |
-------------------------+----------------------------
Changes (by kalxas):

* status: new => closed
* resolution: => fixed

Comment:

Works in nightly 121.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1730#comment:4&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.