[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#220334: upgrade hoses apache2, weird ipv6 error message



Hi Joey,
	please forget the previous patch.

On Wed, 12 Nov 2003, Joey Hess wrote:

> How about I send you my config. I need to get some sleep, then I can look
> at this patch perhaps.

I cannot reproduce it here. Even with your config but at least we found a
possible problem.

> BTW, google turned up exactly one other occurance of the error message,
> some guy on irc.

Yes and we found that a specific ipv6 patch for BSD went upstream and that
can cause this problem on some linux kernels. The offeding code seems to
be:

#if APR_HAVE_IPV6
    if (server->bind_addr->family == APR_INET6) {
        stat = apr_socket_opt_set(s, APR_IPV6_V6ONLY, v6only_setting);
        if (stat != APR_SUCCESS && stat != APR_ENOTIMPL) {
            ap_log_perror(APLOG_MARK, APLOG_CRIT, stat, p,
                          "make_sock: for address %pI, apr_socket_opt_set: "
                          "(IPV6_V6ONLY)",
                          server->bind_addr);
            apr_socket_close(s);
            return stat;
        }
    }
#endif

In server/listen.c:120

The reason why i cannot reproduce it here is because i have patched
kernels for ipv6. I have to ask you to remove this piece of code,
recompile and test. (if you cannot, i can build the packages for you. I
know you are extremely busy with d-i).

Thanks a lot
Fabio

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: