configtest via init script not working

Bug #440888 reported by Miha Vrhovnik
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nginx (Debian)
Fix Released
Unknown
nginx (Ubuntu)
Fix Released
Wishlist
Unassigned
Declined for Karmic by Thomas Ward

Bug Description

Binary package hint: nginx

1.) 9.10 beta
2.) 0.7.61-1ubuntu2
3.) getting a confirmation, that the config file is ok
e.g just like running it directly

mvrhov@mvubdevel:/etc/nginx$ sudo nginx -t
the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful

4.) This is what's getting printed when config is ok
mvrhov@mvubdevel:/etc/nginx$ sudo /etc/init.d/nginx configtest
Testing nginx configuration: nginx.

And this when something is wrong with it;
mvrhov@mvubdevel:/etc/nginx$ sudo /etc/init.d/nginx configtest
Testing nginx configuration: mvrhov@mvubdevel:/etc/nginx$

I believe that it wouldn't hurt to print out everything that nginx does regardles of the status.

Related branches

Revision history for this message
Daniel Hahler (blueyed) wrote :

Thank you for your bug report, I've forwarded it to Debian.
I'm marking it as wishlist, since it is working (when considering the exit code), but not verbose enough.

Changed in nginx (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in nginx (Debian):
status: Unknown → New
Changed in nginx (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nginx - 0.7.62-4ubuntu1

---------------
nginx (0.7.62-4ubuntu1) karmic; urgency=low

  * Merge from debian unstable (LP: #450874), remaining changes:
    - Install html files.
      - debian/dirs: Add 'var/www/nginx-default'.
      - debian/nginx.install: Add 'html/* var/www/nginx-default'.
    - Added a UFW profile set: (LP: #308695)
      + debian/nginx.ufw.profile: Added.
      + debian/control: nginx: Suggests ufw.
      + debian/dirs: Added 'etc/ufw/applications.d'
      + debian/rules: Added install rule for the nginx UFW profile.
  * Closes: LP: #260005, LP: #440888

nginx (0.7.62-4) unstable; urgency=low

  * debian/conf/nginx.conf: commented out the mail proxy example.
    (Closes: #551682)
  * debian/init.d: do not redirect the output of nginx -t.
    (Closes: #551683)

nginx (0.7.62-3) unstable; urgency=low

  * debian/rules: fix the FTBFS on sparc.

nginx (0.7.62-2) unstable; urgency=low

  * debian/rules: added --with-mail and --with-mail_ssl_module.
  * debian/patches/nginx-upstream-fair.dpatch: added support for the
    nginx-upstream-fair module. (Closes: #521447)
  * debian/patches/dlopen.dpatch: applied patch to remove the unnecesssary link
    to libdl. (Closes: #540599)

nginx (0.7.62-1) unstable; urgency=low

  * New upstream release.
  * debian/rules: added --with-ipv6. (Closes: #547249)

nginx (0.7.61-2) unstable; urgency=low

  * debian/control: bumped Standards-Version to 3.8.3, no changes needed.
  * debian/init.d: added status action. (Closes: #541228)
  * debian/rules:
    - added -with-http_gzip_static_module. (Closes: #541229)
    - use the switch --with-cc-opt="-m32 -mcpu=ultrasparc" on sparc.
      (Closes: #543571)

 -- Daniel Hahler <email address hidden> Mon, 19 Oct 2009 23:22:06 +0200

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.