Hello.

This seems to happen due to the Perl script which checks if IPv6 support is
available on the machine. The default config contains this line:

   include_shell "/usr/share/lighttpd/use-ipv6.pl"

When I comment it out and just add the following instead:

   server.socket = "[::]:80"

...the server starts up fine and listens both on IPv4 and IPv6 (with
the netbase bug fixed with bindv6only=0 in /etc/sysctl.d/bindv6only.conf).

/usr/share/lighttpd/use-ipv6.pl mentioned above contains the following:

#! /usr/bin/perl -w

use Socket;
my $sock;

if (socket($sock, AF_INET6, SOCK_STREAM, 0)) {
    print qq/\$SERVER["socket"] == "[::]:80" { }\n/;
}

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature

Reply via email to