From owner-freebsd-apache@freebsd.org Mon Jul 25 21:12:23 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39DB7BA446F for ; Mon, 25 Jul 2016 21:12:23 +0000 (UTC) (envelope-from andre@ark-ict.nl) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 231581F55 for ; Mon, 25 Jul 2016 21:12:23 +0000 (UTC) (envelope-from andre@ark-ict.nl) Received: by mailman.ysv.freebsd.org (Postfix) id 22445BA446E; Mon, 25 Jul 2016 21:12:23 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21F22BA446D for ; Mon, 25 Jul 2016 21:12:23 +0000 (UTC) (envelope-from andre@ark-ict.nl) Received: from vps44263.public.cloudvps.com (unknown [IPv6:2a02:348:90:62a3::1]) by mx1.freebsd.org (Postfix) with ESMTP id E0DB81F53 for ; Mon, 25 Jul 2016 21:12:22 +0000 (UTC) (envelope-from andre@ark-ict.nl) Received: from localhost (localhost [127.0.0.1]) by vps44263.public.cloudvps.com (Postfix) with ESMTP id D818C1F486 for ; Mon, 25 Jul 2016 23:12:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at vps44263.public.cloudvps.com Received: from vps44263.public.cloudvps.com ([127.0.0.1]) by localhost (vps44263.public.cloudvps.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mg1VFiBJ1k6J for ; Mon, 25 Jul 2016 23:12:20 +0200 (CEST) Received: from desktop.thuis (092-111-143-179.static.chello.nl [92.111.143.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by vps44263.public.cloudvps.com (Postfix) with ESMTPSA id 903271F407 for ; Mon, 25 Jul 2016 23:12:20 +0200 (CEST) To: apache@FreeBSD.org From: Andre Rikkert de Koe - ARK-ICT Subject: apache24 dependency Organization: ARK-ICT Message-ID: Date: Mon, 25 Jul 2016 23:12:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2016 21:12:23 -0000 Thanks for the apache24 port. I think there is a dependency in apache24 for AUTHNZ_LDAP AUTHNZ_LDAP : LDAP based authentication requires LDAP: LDAP caching and connection pooling services On my Freebsd 10.3 hosts, with AUTHNZ_LDAP only, apache24 did not startup and logs this error /[Sun Jul 24 20:14:44.893535 2016] [authnz_ldap:error] [pid 80620] AH01749: Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_authnz_ldap to function properly// / Without LDAP, mod_ldap.so was not built. Maybe the maintainer can built this dependency in the config dialog. Regards Andre From owner-freebsd-apache@freebsd.org Thu Jul 28 22:14:12 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92FB2BA5663 for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4D41CDA for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7CB10BA5662; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C552BA565F for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 528D21CD9 for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6SMECk0042412 for ; Thu, 28 Jul 2016 22:14:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 211430] devel/apr1: IPv6 to IPv4 fallback does not work in serf Date: Thu, 28 Jul 2016 22:14:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 22:14:12 -0000 Don Lewis has reassigned Bugzilla Automation 's request for maintainer-feedback to apache@FreeBSD.= org: Bug 211430: devel/apr1: IPv6 to IPv4 fallback does not work in serf https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211430 --- Description --- Created attachment 173081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173081&action= =3Dedit patch to modify apr1 poll() emulation to match behavior expected by serf. serf depends on the poll emulation in apr returning a POLLERR event if a non-blocking connect() attempt fails in order to trigger an IPv6 -> IPv4 fallback, or a fallback to another address for a multi-homed host. On Free= BSD, the poll emulation is done using kqueue, and the result returned by the pol= l() emulation is POLLIN + POLLHUP. connect(4,{ AF_INET6 [xxxx:xxxx:xxxx:xxxx::xxxx]:80 },28) ERR#36 'Operation= now in progress' gettimeofday({ 1469515046.979614 },0x0) =3D 0 (0x0) kevent(3,{ 4,EVFILT_READ,EV_ADD,0x0,0x0,0x805491300 },1,0x0,0,0x0) =3D 0 (0= x0) kevent(3,{ 4,EVFILT_WRITE,EV_ADD,0x0,0x0,0x805491300 },1,0x0,0,0x0) =3D 0 (= 0x0) kevent(3,0x0,0,{ 4,EVFILT_READ,EV_EOF,NOTE_LOWAT|0x3c,0x0,0x805491300 4,EVFILT_WRITE,EV_EOF,NOTE_LOWAT|0x3c,0x8000,0x805491300 },32,{ 0.500000000= }) =3D 2 (0x2) When serf sees this, it calls read(), which then fails with ECONNREFUSED (or whatever), which is not even a documented read() errno value. read(4,0x80549c064,8000) ERR#61 'Connection refused' What that occurs, serf closes the socket an any other addresses are not tri= ed. The attached patch modifies apr to return what serf expects in the case of a non-blocking connect() failure. Unfortunately, I did not see an easy way of handling ETIMEDOUT since that error can either be caused by connect failing= or after the connection is established. The poll emulation might need to differentiate between those two cases. This problem affects users of svn who don't have working IPv6 connectivity = to the FreeBSD svn servers. From owner-freebsd-apache@freebsd.org Thu Jul 28 22:14:12 2016 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D3CAFBA566C for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BCEF71CDD for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BC59CBA566B; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC073BA566A for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A292A1CDC for ; Thu, 28 Jul 2016 22:14:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u6SMECk4042412 for ; Thu, 28 Jul 2016 22:14:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 211430] devel/apr1: IPv6 to IPv4 fallback does not work in serf Date: Thu, 28 Jul 2016 22:14:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: truckman@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 22:14:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211430 Bug ID: 211430 Summary: devel/apr1: IPv6 to IPv4 fallback does not work in serf Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: truckman@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Created attachment 173081 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173081&action= =3Dedit patch to modify apr1 poll() emulation to match behavior expected by serf. serf depends on the poll emulation in apr returning a POLLERR event if a non-blocking connect() attempt fails in order to trigger an IPv6 -> IPv4 fallback, or a fallback to another address for a multi-homed host. On Free= BSD, the poll emulation is done using kqueue, and the result returned by the pol= l() emulation is POLLIN + POLLHUP. connect(4,{ AF_INET6 [xxxx:xxxx:xxxx:xxxx::xxxx]:80 },28) ERR#36 'Operation= now in progress' gettimeofday({ 1469515046.979614 },0x0) =3D 0 (0x0) kevent(3,{ 4,EVFILT_READ,EV_ADD,0x0,0x0,0x805491300 },1,0x0,0,0x0) =3D 0 (0= x0) kevent(3,{ 4,EVFILT_WRITE,EV_ADD,0x0,0x0,0x805491300 },1,0x0,0,0x0) =3D 0 (= 0x0) kevent(3,0x0,0,{ 4,EVFILT_READ,EV_EOF,NOTE_LOWAT|0x3c,0x0,0x805491300 4,EVFILT_WRITE,EV_EOF,NOTE_LOWAT|0x3c,0x8000,0x805491300 },32,{ 0.500000000= }) =3D 2 (0x2) When serf sees this, it calls read(), which then fails with ECONNREFUSED (or whatever), which is not even a documented read() errno value. read(4,0x80549c064,8000) ERR#61 'Connection refused' What that occurs, serf closes the socket an any other addresses are not tri= ed. The attached patch modifies apr to return what serf expects in the case of a non-blocking connect() failure. Unfortunately, I did not see an easy way of handling ETIMEDOUT since that error can either be caused by connect failing= or after the connection is established. The poll emulation might need to differentiate between those two cases. This problem affects users of svn who don't have working IPv6 connectivity = to the FreeBSD svn servers. --=20 You are receiving this mail because: You are the assignee for the bug.=