Bug#603077: apache2-mpm-prefork: a2(en|dis)(mod|site) should advise the use of invoke-rc.d
Package: apache2-mpm-prefork
Version: 2.2.16-3
Severity: wishlist
Tags: patch
Hi,
Since invoke-rc.d is supposed to perform more tests than
/etc/init.d/apache2 itself, and sounds more Debian anyway, it would be
nice if a2(en|dis)(mod|site) advised its use.
Regards
David
-- Package-specific info:
List of enabled modules from 'apache2 -M':
alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user autoindex cgi deflate dir env mime
negotiation php5 reqtimeout setenvif status
List of enabled php5 extensions:
gd mcrypt mysql mysqli pdo pdo_mysql pdo_pgsql pgsql
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (600, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2-mpm-prefork depends on:
ii apache2.2-bin 2.2.16-3 Apache HTTP Server common binary f
ii apache2.2-common 2.2.16-3 Apache HTTP Server common files
apache2-mpm-prefork recommends no packages.
apache2-mpm-prefork suggests no packages.
-- no debconf information
*** /tmp/invoke.patch
Index: a2enmod
===================================================================
--- a2enmod (révision 1248)
+++ a2enmod (copie de travail)
@@ -84,7 +84,7 @@
doit($acton) or $rc = 1;
}
-info("Run '/etc/init.d/apache2 $reload' to activate new configuration!\n")
+info("Run 'invoke-rc.d apache2 $reload' to activate new configuration!\n")
if $request_reload;
exit($rc);
Reply to: