Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 20:29:58 +1000
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        freebsd-stable@freebsd.org
Subject:   10.2-BETA2 ntpd problem with autokey
Message-ID:  <20150721102958.GA32853@rwpc16.gfn.riverwillow.net.au>

next in thread | raw e-mail | index | archive | help

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201738

--=20
John Marshall

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWuHyYACgkQw/tAaKKahKINmgCfWU+7xHvOB79IOX2TAWa4WBL6
1s0AoIC8k/+ASmywwPmXtUlzkjb+7LA4
=7Q65
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150721102958.GA32853>