[pkg-lighttpd] Bug#595011: In squeeze file /usr/share/lighttpd/use-ipv6.pl broke lighttpd work if IPv6 is enabled.
Mikhail A Antonov
bart at bart-home.veshn.6-ip.net
Tue Aug 31 12:21:04 UTC 2010
Package: lighttpd
Version: 1.4.26-3
Severity: normal
In squeeze file /usr/share/lighttpd/use-ipv6.pl broke lighttpd work if IPv6 is enabled.
----- CUT HERE -----
bart-home:~# /etc/init.d/lighttpd start
Starting web server: lighttpd/usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, consider re-linking
2010-08-31 16:09:40: (network.c.345) can't bind to port: :: 80 Address already in use
failed!
----- CUT HERE -----
bart-home:~# cat /etc/lighttpd/lighttpd.conf | egrep -v "$^|^#"
server.modules = (
"mod_alias",
"mod_compress",
)
server.document-root = "/var/www/"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm",
"index.lighttpd.html" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
include_shell "/usr/share/lighttpd/use-ipv6.pl"
server.pid-file = "/var/run/lighttpd.pid"
dir-listing.encoding = "utf-8"
server.dir-listing = "enable"
server.username = "www-data"
server.groupname = "www-data"
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ("text/plain", "text/html", "application/x-javascript", "text/css")
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
----- CUT HERE -----
[squeeze]:~ cat /usr/share/lighttpd/use-ipv6.pl
#! /usr/bin/perl -w
use Socket;
my $sock;
if (socket($sock, AF_INET6, SOCK_STREAM, 0)) {
print qq/\$SERVER["socket"] == "[::]:80" { }\n/;
}
----- CUT HERE -----
[lenny]:~$ cat /usr/share/lighttpd/use-ipv6.pl
#! /usr/bin/perl -w
use Socket;
my $sock;
if (socket($sock, AF_INET6, SOCK_STREAM, 0)) {
print "server.use-ipv6 = \"enable\"\n";
}
----- CUT HERE -----
I use file from lenny and it works.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lighttpd depends on:
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libgamin0 [libfam0] 0.1.10-2+b1 Client library for the gamin file
ii libldap-2.4-2 2.4.17-2.1 OpenLDAP libraries
ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8o-2 SSL shared libraries
ii libterm-readline-perl-p 1.0303-1 Perl implementation of Readline li
ii lsb-base 3.2-23.1 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:
pn spawn-fcgi <none> (no description available)
Versions of packages lighttpd suggests:
ii apache2-utils 2.2.16-1 utility programs for webservers
ii openssl 0.9.8o-2 Secure Socket Layer (SSL) binary a
pn rrdtool <none> (no description available)
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list