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

Bug#267693: apache2-common: When using dash as /bin/sh postinst generates invalid httpd.conf



Package: apache2-common
Version: 2.0.50-10
Severity: important
Tags: patch

Well, when using dash as /bin/sh the following linein postinst:

echo -e "#This is here for backwards compatability reasons only" > /etc/apache2/httpd.conf;

creates a httpd.conf which includes the line

-e #This is here for backwards compatability reasons only

which makes Apache2 fail to start.

Fix: Remove the -e, I see no reason for it being there...

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache2-common depends on:
ii  debconf                     1.4.32       Debian configuration management sy
ii  debianutils                 2.8.4        Miscellaneous utilities specific t
ii  libapr0                     2.0.50-10    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.10-3       File type determination library us
ii  libssl0.9.7                 0.9.7d-5     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-5     Secure Socket Layer (SSL) binary a
ii  ssl-cert                    1.0-8        Simple debconf wrapper for openssl
ii  zlib1g                      1:1.2.1.1-5  compression library - runtime

-- no debconf information



Reply to: