Bug#330276: 'apache2ctl restart' exits with 0 after 404
Package: apache2
Version: 2.0.54-4
Severity: normal
When 'apache2ctl status' is called against a server that does not have
the 'status.cgi' configured, it gets a 404 but then still exits with a 0
exit code. While in some ways it could legitimately be said to have
verified that the server is at least running, it gives a false
impression via its exit code, one which is particularly frustrating with
automated tools.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.0.54-4 traditional model for Apache2
apache2 recommends no packages.
-- no debconf information
Reply to: