[afnog] bind on freebsd

Frank Habicht geier at geier.ne.tz
Thu Jan 9 12:02:52 UTC 2014


Hi,

On a freebsd 9.2 (x86_64) I run, the bind didn't want to start in chroot
(/var/named). It started fine with out chroot.
bind 9.9.4 from ports is installed to replace system bind.

updating ports didn't help.

what finally helped was to copy openssl engines libs into the chroot
(probably bind or openssl is not clever enough to load them before entering
the chroot) :

root at stats1:/root # pkill named
root at stats1:/root # mkdir -p /var/named/usr/local/lib
root at stats1:/root # cp -r /usr/local/lib/engines /var/named/usr/local/lib

not sure if there might be a 'cleaner' way...

Greetings and good new year to all!

Frank


PS:
"/usr/sbin/named -g -d 9 -t /var/named/ -u bind" had produced this:

09-Jan-2014 13:16:38.685 error:25070067:DSO support routines:DSO_load:could
not load the shared library:dso_lib.c:244:
09-Jan-2014 13:16:38.685 error:260B6084:engine routines:DYNAMIC_LOAD:dso
not found:eng_dyn.c:450:
09-Jan-2014 13:16:38.685 error:2606A074:engine routines:ENGINE_by_id:no
such engine:eng_list.c:417:id=gost



More information about the afnog mailing list