[pkg-lighttpd] Bug#629638: lighttpd: lighty-enable-mod should return non-zero on fail

Jon Dowland jmtd at debian.org
Wed Jun 8 10:43:44 UTC 2011


Package: lighttpd
Version: 1.4.28-2
Severity: normal

root at pris:/etc/lighttpd# lighttpd-enable-mod fakemodule
Available modules: auth accesslog cgi evasive evhost expire fastcgi flv-streaming no-www proxy rrdtool simple-vhost ssi ssl status userdir usertrack fastcgi-php debian-doc 
Already enabled modules: dowland.me iw.debian joe jon_vhosts pch_vhosts redmars tom_vhosts 
Run /etc/init.d/lighttpd force-reload to enable changes
root at pris:/etc/lighttpd# echo $?
0

this mucks up calling lighttd-enable-mod from a configuration management
tool such as puppet, requiring you to perform further checks to make sure
a symlink is in place.

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1                1:2.4.44-2       Extended attribute shared library
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libfam0                 2.7.0-17         Client library to control the FAM 
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libpcre3                8.12-3           Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libterm-readline-perl-p 1.0303-1         Perl implementation of Readline li
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  mime-support            3.48-1           MIME files 'mime.types' & 'mailcap
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages lighttpd recommends:
ii  spawn-fcgi                    1.6.3-1    A fastcgi process spawner

Versions of packages lighttpd suggests:
ii  apache2-utils          2.2.16-6+squeeze1 utility programs for webservers
ii  openssl                0.9.8o-4squeeze1  Secure Socket Layer (SSL) binary a
pn  rrdtool                <none>            (no description available)

-- no debconf information





More information about the pkg-lighttpd-maintainers mailing list