ports/184054: dns/bind98 and dns/bind99: Problem when using openssl from ports.

Mathieu Arnold mat at FreeBSD.org
Mon Nov 18 14:50:02 UTC 2013


>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:


More information about the freebsd-ports-bugs mailing list