From owner-freebsd-stable@freebsd.org Tue Jul 21 10:30:17 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 100839A759B for ; Tue, 21 Jul 2015 10:30:17 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mta1.riverwillow.net.au (mta1.riverwillow.net.au [IPv6:2001:8000:1000:1801::3001]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mta1.riverwillow.net.au", Issuer "Riverwillow 2014 CA Root Certificate" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C61F15AC for ; Tue, 21 Jul 2015 10:30:15 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail1.riverwillow.net.au (mail1.riverwillow.net.au [IPv6:2001:8000:1000:1801:0:0:0:4001]) by mta1.riverwillow.net.au (8.15.2/8.15.2) with ESMTPS id t6LAU4RL005595 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 21 Jul 2015 20:30:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=mta1002; t=1437474604; bh=zHKVWquH2pyoHsBPnb2+Rywag5a/F3eTTE4xmWWEf+E=; h=Date:From:To:Subject; b=lxr33ow1UC3vK8ooR5ueQiuQEILawP6wnhDB5PWCf0k69rj5+/p4Ha8QZ4FKnZql2 0q8npd7VK0/a9SQse4ewvOvuBLO5PJwltIHS2S3pGqHJwlDruQhVXdmCEkK/AuTWT8 eY1L4ntpCx5IBeafPbZvzmpUUog2wLMdEmcRne3c= Received: from rwpc16.gfn.riverwillow.net.au (rwpc16.gfn.riverwillow.net.au [IPv6:2001:8000:1000:18e1:ae87:a3ff:fe04:b351]) (authenticated bits=56) by mail1.riverwillow.net.au (8.15.2/8.15.2) with ESMTPSA id t6LATxVB005552 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 21 Jul 2015 20:30:00 +1000 (AEST) Date: Tue, 21 Jul 2015 20:29:58 +1000 From: John Marshall To: freebsd-stable@freebsd.org Subject: 10.2-BETA2 ntpd problem with autokey Message-ID: <20150721102958.GA32853@rwpc16.gfn.riverwillow.net.au> Mail-Followup-To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline OpenPGP: id=A29A84A2; url=http://pki.riverwillow.com.au/pgp/johnmarshall.asc User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 10:30:17 -0000 --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--