[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#272865: apache2-common: a2enmod quits before installing asked module

Package: apache2-common
Version: 2.0.51-2
Severity: important

When installing apache2-common, apache2 and apache2-mpm-worker, the
post install scripts left unexpectedly, which could be traced back to
a2enmod not working as expected. In fact, a2enmod is run by calling 

sh -e

as interpreter. a2enmod contains the line:

apache2 -l | grep prefork

which as I use mpm-worker returns nothing with an error status of 1,
which causes a2enmod to exit with status 1 because of the -e flag, which
causes postinst to exit with the error status 1 because of the -e of the
postinst script. Removing -e from a2enmod resolves the problem.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26

Versions of packages apache2-common depends on:
ii  debconf                Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libapr0                     2.0.51-2     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libmagic1                   4.09-1       File type determination library us
ii  libssl0.9.7                 0.9.7d-4     SSL shared libraries
ii  mime-support                3.28-1       MIME files 'mime.types' & 'mailcap
ii  net-tools                   1.60-10      The NET-3 networking toolkit
ii  openssl                     0.9.7d-4     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-10       Simple debconf wrapper for openssl
ii  zlib1g                      1:  compression library - runtime

-- no debconf information

Reply to: