Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 15:40:04 +0100 (CET)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184054: dns/bind98 and dns/bind99: Problem when using openssl from ports.
Message-ID:  <20131118144004.152F314269C@aragorn.in.absolight.net>
Resent-Message-ID: <201311181450.rAIEo18P064214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184054
>Category:       ports
>Synopsis:       dns/bind98 and dns/bind99: Problem when using openssl from ports.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 14:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 9.2-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC
>Description:
When compiling with openssl from ports, bind uses the gost engine. The problem
is that bind initializes openssl after chrooting, and fails to load with :

Nov 18 14:38:55 ns4 named[82555]: ENGINE_by_id failed (crypto failure)
Nov 18 14:38:55 ns4 named[82555]: error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
Nov 18 14:38:55 ns4 named[82555]: error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
Nov 18 14:38:55 ns4 named[82555]: error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:417:id=gost
Nov 18 14:38:55 ns4 named[82555]: initializing DST: crypto failure
Nov 18 14:38:55 ns4 named[82555]: exiting (due to fatal error)

because it tries to load /usr/local/lib/engines/libgost.so and can't find it in
the chroot.

So that it'd start again, I had to manually do :
# mkdir -p /var/named/usr/local/lib/engines
# cp /usr/local/lib/engines/libgost.so /var/named/usr/local/lib/engines

I'm sure I'll forget about it next time openssl is updated :-)

Generated with FreeBSD Port Tools 0.99_10 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131118144004.152F314269C>