10.2-BETA2 ntpd problem with autokey

John Marshall john.marshall at riverwillow.com.au
Tue Jul 21 10:30:17 UTC 2015

Autokey stopped working for me when I upgraded one server and two
clients to 10.2-BETA2 and used the base system ntpd.

I saw errors like this logged every couple of minutes:

  ntpd[2169]: crypto_encrypt: error:00000000:lib(0):func(0):reason(0)

I build new keys using the base system ntp-keygen and then couldn't
start ntpd:

  ntpd[91910]: crypto_key: error:06074078:digital envelope routines:EVP_PBE_CipherInit:keygen failure

I tracked the problem down to what appears to me to be a stray libmd
inclusion in the LDADD assignment in usr.sbin/ntp/ntpd/Makefile. Autokey
works fine after rebuilding with libmd excluded.

Patch with Bug 201738

John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150721/410b1a0e/attachment.bin>

More information about the freebsd-stable mailing list