Package: lighttpd Version: 1.4.28-2+squeeze1.3 Severity: important lighttpd on my setup is currently not configured to bind on port 80, but still does it. as a result, if something else started before it that has already bound to port 80, lighttpd simply refuses to start.
in my case, I have varnish listening on port 80 and lighttpd on 8080 for serving a fallback html page when web nodes are down. if I start varnish before lighttpd, then lighttpd won't start. starting lighttpd, and then varnish will get things working. lighttpd is still bound to port 80 on IPv6 even though it's not supposed to do it: tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 31368/varnishd tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 31338/lighttpd tcp6 0 0 :::80 :::* LISTEN 31338/lighttpd I've found that this is due to the following line, which is included in the default configuration file: include_shell "/usr/share/lighttpd/use-ipv6.pl" since it prevents lighttpd to co-exist with any other application that binds to port 80 on a semi-random fashion (because of non-deterministic order caused by parallelized boot process), I consider this default configuration to be an important problem. -- System Information: Debian Release: 6.0.7 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) 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+squeeze1 high-quality block-sorting file co ii libc6 2.11.3-4 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.3 OpenLDAP libraries ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8o-4squeeze14 SSL shared libraries ii libterm-readline-perl- 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: pn apache2-utils <none> (no description available) ii openssl 0.9.8o-4squeeze14 Secure Socket Layer (SSL) binary a pn rrdtool <none> (no description available) -- Configuration Files: /etc/lighttpd/lighttpd.conf: server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", # "mod_rewrite", ) server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", " index.lighttpd.html" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) include_shell "/usr/share/lighttpd/use-ipv6.pl" dir-listing.encoding = "utf-8" server.dir-listing = "enable" compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/x-javascript", "text/css", "text/html", "text/plain" ) include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" /etc/lighttpd/conf-enabled/port.conf: server.port = 8080 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org