nginx doesn't start: nginx.conf relative paths are relative to /usr/local/nginx

Bug #122643 reported by Derek Young on 2007-06-27
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nginx (Ubuntu)
Medium
Arthur Loiret

Bug Description

Binary package hint: nginx

In the gutsy version of the nginx package (0.5.26) the default nginx.conf file at /etc/nginx/nginx.conf has "include conf/mime.types". Relative include paths are relative to --prefix as specified in ./configure. The package leaves this unspecified so all paths are relative to /usr/local/nginx. This prevents nginx from starting immediately after install.

Changing nginx.conf to refer to /etc/nginx/mime.types fixes the problem and the server starts correctly.

Jean-Philippe (skateinmars) wrote :

I can confirm this bug.
Even if /etc/nginx/nginx.conf is provided in the ./configure script, the absolute path of the other config files must be provided.

Changed in nginx:
assignee: nobody → arthur.loiret
Arthur Loiret (arthur.loiret) wrote :

Here is a debdiff which should fix this bug.

Thanks for your bug report.

Changed in nginx:
status: New → Fix Committed
Arthur Loiret (arthur.loiret) wrote :

nginx (0.5.26-0ubuntu2) gutsy; urgency=low

  * Update mime.types path in /etc/nginx/nginx.conf (LP: #122643)

 -- Arthur Loiret <email address hidden> Thu, 28 Jun 2007 13:26:42 +0200

Changed in nginx:
status: Fix Committed → Fix Released

Format: 1.7
Date: Thu, 28 Jun 2007 13:26:42 +0200
Source: nginx
Binary: nginx
Architecture: source
Version: 0.5.26-0ubuntu2
Distribution: gutsy
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Arthur Loiret <email address hidden>
Description:
 nginx - small, but very powerful and efficient web server
Launchpad-Bugs-Fixed: 122643
Changes:
 nginx (0.5.26-0ubuntu2) gutsy; urgency=low
 .
   * Update mime.types path in /etc/nginx/nginx.conf (LP: #122643)
Files:
 80d0e99887a81ae97539ee05cf35818a 699 web optional nginx_0.5.26-0ubuntu2.dsc
 56971082aac3e830efaa62d78e2f7b77 6263 web optional nginx_0.5.26-0ubuntu2.diff.gz
Original-Maintainer: Jose Parrella <email address hidden>

Changed in nginx:
importance: Undecided → Medium
status: Fix Released → Fix Committed

grr, Launchpad was faster than me :)

Changed in nginx:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers