Ticket #146 (new defect)

Opened 8 years ago

Last modified 8 years ago

zoo-services installation path

Reported by: sebastic Owned by:
Priority: major Milestone:
Component: zoo-server Version:
Keywords: Cc: sebastic

Description

The .zo zoo-services get installed in /usr/lib/cgi-bin alongside zoo_loader.cgi, but they aren't CGI executables and shouldn't be installed in the cgi-bin directory.

Private shared libraries should be installed in /usr/lib/zoo-project, see: Filesystem Hierarchy Standard: /usr/lib : Libraries for programming and packages

The .zcfg & main.cfg configuration files are likewise installed in the cgi-bin directory where they don't belong. Configuration files should be installed in /etc/zoo-project, see: Filesystem Hierarchy Standard: /etc : Host-specific system configuration

These FHS violations are problematic to get the zoo-project Debian package accepted into the Debian & Ubuntu archives for which there is much stricter quality control than for PPAs (e.g. OSGeo-Live & UbuntuGIS).

Change History

in reply to: ↑ description   Changed 8 years ago by djay

Replying to sebastic:

The .zo zoo-services get installed in /usr/lib/cgi-bin alongside zoo_loader.cgi, but they aren't CGI executables and shouldn't be installed in the cgi-bin directory.

Private shared libraries should be installed in /usr/lib/zoo-project, see: Filesystem Hierarchy Standard: /usr/lib : Libraries for programming and packages

For the .zo and their corresponding .zcfg files, it can be achieved by setting servicePath in the [main] section. Note also, that Knut has added the libPath parameter to the same section, to let you define the location of your .zo files. I think that combining both options may solve the issue.

The .zcfg & main.cfg configuration files are likewise installed in the cgi-bin directory where they don't belong. Configuration files should be installed in /etc/zoo-project, see: Filesystem Hierarchy Standard: /etc : Host-specific system configuration

For the main.cfg, following a request relayed by Angelos, we have added a specific --with-etc-dir option to define the location of the main.cfg file.

These FHS violations are problematic to get the zoo-project Debian package accepted into the Debian & Ubuntu archives for which there is much stricter quality control than for PPAs (e.g. OSGeo-Live & UbuntuGIS).

Note: See TracTickets for help on using tickets.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png