Bug#557090: apache2.2-common: Reload using apache init script doesn't work
Package: apache2.2-common
Version: 2.2.9-10+lenny4
Severity: important
Tags: patch
Running /etc/init.d/apache reload doesn't work.
Running apache2ctl graceful does.
This seems to solve the problem:
--- apache2.dpkg-dist 2009-11-19 12:12:25.000000000 +0000
+++ apache2 2009-11-19 12:12:56.000000000 +0000
@@ -152,7 +152,7 @@
fi
log_daemon_msg "Reloading web server config" "apache2"
if pidof_apache > /dev/null ; then
- if $APACHE2CTL graceful $2 ; then
+ if $APACHE2CTL graceful; then
log_end_msg 0
else
log_end_msg 1
-- Package-specific info:
List of enabled modules from 'apache2 -M':
actions alias auth_basic authn_file authnz_ldap authz_default
authz_groupfile authz_host authz_svn authz_user autoindex cgi dav
dav_svn dir env ldap mime negotiation php5 rewrite setenvif status
wsgi
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-24-xen (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.9-10+lenny4 utility programs for webservers
ii libapr1 1.2.12-5+lenny1 The Apache Portable Runtime Librar
ii libaprutil1 1.2.12+dfsg-8+lenny4 The Apache Portable Runtime Utilit
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libmagic1 4.26-1 File type determination library us
ii libssl0.9.8 0.9.8g-15+lenny3 SSL shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-22 The NET-3 networking toolkit
ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii procps 1:3.2.7-11 /proc file system utilities
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages apache2.2-common recommends:
pn ssl-cert <none> (no description available)
Versions of packages apache2.2-common suggests:
pn apache2-doc <none> (no description available)
pn apache2-suexec | apache2-suex <none> (no description available)
pn www-browser <none> (no description available)
Versions of packages apache2.2-common is related to:
pn apache2-mpm-event <none> (no description available)
pn apache2-mpm-itk <none> (no description available)
ii apache2-mpm-prefork 2.2.9-10+lenny4 Apache HTTP Server - traditional n
pn apache2-mpm-worker <none> (no description available)
-- no debconf information
Reply to: