Your message dated Wed, 24 Apr 2013 23:25:18 +0200
with message-id <[email protected]>
and subject line Re: Bug#706115: lighttpd bind to port 80 even though it's 
configured not to
has caused the Debian Bug report #706115,
regarding lighttpd bind to port 80 even though it's configured not to
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
706115: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706115
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Hi,

as Olaf says, this is a duplicate of #632723 and #642604. We are going
to ship a fix in Wheezy which is to be released next week. Please
upgrade to get a fix in time.

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to