[pkg-lighttpd] Bug#471325: lighttpd: Fails to start when there are dupblicate configuration variables

Sjoerd Simons sjoerd at luon.net
Mon Mar 17 12:01:53 UTC 2008

Package: lighttpd
Version: 1.4.19-1
Severity: normal


  I've always had ipv6 enabled in lighttpd using a config snippit in
  conf-enabled. Now lighttpd switched to enabled ipv6 by default (which is very
  nice).. Unfortunately the default config entries cause lighttpd to refuse to
  start, which breaks the upgrade:

Setting up lighttpd (1.4.19-1) ...
Starting web server: lighttpdDuplicate config variable in conditional 0 global: server.use-ipv6
2008-03-17 12:50:59: (configfile.c.855) source: /etc/lighttpd/conf-enabled/00-local_ipv6.conf line: 2 pos: 1 parser failed somehow near here: (EOL) 
2008-03-17 12:50:59: (configfile.c.855) source: /usr/share/lighttpd/include-conf-enabled.pl line: 2 pos: 8 parser failed somehow near here: (EOL) 
2008-03-17 12:50:59: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 154 pos: 1 parser failed somehow near here: (EOL) 
invoke-rc.d: initscript lighttpd, action "start" failed.
dpkg: error processing lighttpd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:

  Which isn't very nice. Possible solution are to have lighttpd just throw a
  non-fatal warning in such a case or change the default configuration in the
  source instead of the configuration


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=nl_NL (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages lighttpd depends on:
ii  libattr1               1:2.4.41-1        Extended attribute shared library
ii  libbz2-1.0             1.0.4-4           high-quality block-sorting file co
ii  libc6                  2.7-9             GNU C Library: Shared libraries
ii  libfam0                2.7.0-13.1        Client library to control the FAM 
ii  libldap-2.4-2          2.4.7-6.1         OpenLDAP libraries
ii  libpcre3               7.6-2             Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8g-7          SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.2-4             Linux Standard Base 3.2 init scrip
ii  mime-support           3.40-1.1          MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1: compression library - runtime

lighttpd recommends no packages.

-- no debconf information

More information about the pkg-lighttpd-maintainers mailing list