[helmut@BSDHelmut1064 ~]$ uname -a FreeBSD BSDHelmut1064.charlieroot.de 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 [helmut@BSDHelmut1064 ~]$ bind99 installs /usr/local/etc/rc.d/named which defines _openssl_engines="/usr/local/lib/engines" The path does noch exist, files are found at [helmut@BSDHelmut1064 ~]$ ls -la /usr/lib/engines/ total 276 drwxr-xr-x 2 root wheel 512 Aug 23 16:54 . drwxr-xr-x 8 root wheel 13312 Aug 23 16:54 .. -r--r--r-- 1 root wheel 17512 Aug 23 16:54 lib4758cca.so -r--r--r-- 1 root wheel 16136 Aug 23 16:54 libaep.so -r--r--r-- 1 root wheel 13608 Aug 23 16:54 libatalla.so -r--r--r-- 1 root wheel 24768 Aug 23 16:54 libchil.so -r--r--r-- 1 root wheel 20936 Aug 23 16:54 libcswift.so -r--r--r-- 1 root wheel 98104 Aug 23 16:54 libgost.so -r--r--r-- 1 root wheel 11768 Aug 23 16:54 libnuron.so -r--r--r-- 1 root wheel 24392 Aug 23 16:54 libsureware.so -r--r--r-- 1 root wheel 17704 Aug 23 16:54 libubsec.so [helmut@BSDHelmut1064 ~]$ [helmut@BSDHelmut ~]$ sudo /usr/local/etc/rc.d/named restart Stopping named. rndc failed, trying kill: Waiting for PIDS: 60339. umount: /var/named//usr/local/lib/engines: statfs: No such file or directory umount: /var/named//usr/local/lib/engines: unknown file system /usr/local/etc/rc.d/named: WARNING: named chroot: /var/named/usr/local/etc/namedb is a directory! Starting named. [helmut@BSDHelmut ~]$
this has been fixed in version 9.9.7P2_2 at the end of august. Upgrade your package and it will go away.
Maybe a regression then? [helmut@BSDHelmut1064 /usr/ports/dns/bind99]$ sudo make clean ===> Cleaning for bind99-9.9.7P3 [helmut@BSDHelmut1064 /usr/ports/dns/bind99]$ sudo make ===> Options unchanged ===> License ISCL accepted by the user ===> bind99-9.9.7P3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bind99-9.9.7P3 for building ===> Extracting for bind99-9.9.7P3 => SHA256 Checksum OK for bind-9.9.7-P3.tar.gz. ===> Patching for bind99-9.9.7P3 ===> Applying FreeBSD patches for bind99-9.9.7P3 [...] ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) [helmut@BSDHelmut1064 /usr/ports/dns/bind99]$ grep -i 'lib/engines' work/named _openssl_engines="/usr/local/lib/engines" [helmut@BSDHelmut1064 /usr/ports/dns/bind99]$
I read the comment in /usr/local/etc/rc.d/named, clear now.