[Bug 219379] net/haproxy 1.7.3 and later have broken kqueue event handling when DNS resolvers are configured

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 18 14:34:10 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219379

            Bug ID: 219379
           Summary: net/haproxy 1.7.3 and later have broken kqueue event
                    handling when DNS resolvers are configured
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon at FreeBSD.org
          Reporter: jimp at pfsense.org
             Flags: maintainer-feedback?(demon at FreeBSD.org)
          Assignee: demon at FreeBSD.org

Created attachment 182699
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182699&action=edit
Copy of the dns.c patch that fixes kqueue handling

HAProxy 1.7.3 introduced changes to DNS that broke kqueue event handling on
FreeBSD when DNS resolvers are present in the haproxy configuration.

Thus, anyone running haproxy 1.7.3 and later on FreeBSD (at least 10.3 and 11)
with DNS resolvers will see HAProxy completely fail to pass traffic or respond
on its management socket.

The HAProxy project has committed a fix which I have tested and found to work,
and others will likely benefit from the fix as well. Until they have the fix in
a release, it would be great to have this added to the port directly so others
do not experience this broken behavior.

I have attached the patch to this PR and it can also be found on their git tree
here:

http://git.haproxy.org/?p=haproxy.git;a=commitdiff;h=64920538fc19f3c7f94dfa1e84a9a6569b8c3d37

Additional information can be found in the HAProxy mailing list archive:

https://www.mail-archive.com/haproxy@formilux.org/msg26040.html

Thanks,
Jim P.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list