Bug#461341: apache2.2-common: include module name in a2enmod errors
Package: apache2.2-common
Version: 2.2.6-3
Severity: minor
In the following code in a2enmod:
if [ -e $SYSCONFDIR/mods-enabled/$MODNAME.load ]; then
echo "This module is already enabled!"
exit 0
fi
if ! [ -e $SYSCONFDIR/mods-available/$MODNAME.load ]; then
echo "This module does not exist!" >&2
exit 1
fi
could you please include the module name in the error message? Right now,
it's hard to track down problems with enabling modules in packages that
enable multiple modules.
Thanks!
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.6-3 utility programs for webservers
ii libapr1 1.2.11-1 The Apache Portable Runtime Librar
ii libaprutil1 1.2.7+dfsg-2+b1 The Apache Portable Runtime Utilit
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-11 Berkeley v4.4 Database Libraries [
ii libexpat1 1.95.8-4 XML parsing C library - runtime li
ii libldap2 2.1.30.dfsg-13.5 OpenLDAP libraries
ii libmagic1 4.21-4 File type determination library us
ii libpcre3 7.3-2 Perl 5 Compatible Regular Expressi
ii libpq5 8.2.6-1 PostgreSQL C client library
ii libsqlite3-0 3.4.2-2 SQLite 3 shared library
ii libssl0.9.8 0.9.8g-3 SSL shared libraries
ii libuuid1 1.40.3-1 universally unique id library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii net-tools 1.60-19 The NET-3 networking toolkit
ii procps 1:3.2.7-5 /proc file system utilities
ii zlib1g 1:1.2.3.3.dfsg-8 compression library - runtime
apache2.2-common recommends no packages.
-- no debconf information
Reply to: