pkgsrc-Bugs archive

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

pkg/48658: BIND doesn't work in chroot after OpenSSL update



>Number:         48658
>Category:       pkg
>Synopsis:       BIND doesn't work in chroot after OpenSSL update
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 14 21:55:00 +0000 2014
>Originator:     John Klos
>Release:        NetBSD 5.2_STABLE
>Organization:
        
>Environment:
        
        
System: NetBSD andromeda.ziaspace.com 5.2_STABLE NetBSD 5.2_STABLE 
(ANDROMEDA-$Revision: 5.2Y $) #0: Tue Dec 31 21:31:39 UTC 2013 
john%andromeda.ziaspace.com@localhost:/usr/obj-macppc/sys/arch/macppc/compile/ANDROMEDA
 macppc
Architecture: powerpc
Machine: macppc
>Description:
        
After updating net/bind99 from pkgsrc which now uses OpenSSL, also from 
pkgsrc, BIND will not start in a chroot:
Mar 14 21:38:46 andromeda named[10042]: ENGINE_by_id failed (crypto failure)
Mar 14 21:38:46 andromeda named[10042]: error:25070067:DSO support 
routines:DSO_load:could not load the shared library:dso_lib.c:244:
Mar 14 21:38:46 andromeda named[10042]: error:260B6084:engine 
routines:DYNAMIC_LOAD:dso not found:eng_dyn.c:450:
Mar 14 21:38:46 andromeda named[10042]: error:2606A074:engine 
routines:ENGINE_by_id:no such engine:eng_list.c:417:id=gost
Mar 14 21:38:46 andromeda named[10042]: initializing DST: crypto failure
Mar 14 21:38:46 andromeda named[10042]: exiting (due to fatal error)
>How-To-Repeat:
        
Update net/bind99 on a system which uses pkgsrc OpenSSL. Try to run in 
chroot. Apparently BIND only uses OpenSSL on NetBSD 5 and older.
>Fix:
        
mkdir -p /var/chroot/named/usr/local/lib
cp -R /usr/local/lib/engines /var/chroot/named/usr/local/lib/

Or don't run in a chroot for now.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index