From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2670E138334 for ; Mon, 3 Sep 2018 21:23:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 828CCE07D9; Mon, 3 Sep 2018 21:23:36 +0000 (UTC) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F07B3E0769 for ; Mon, 3 Sep 2018 21:23:35 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id k5-v6so1823395wre.10 for ; Mon, 03 Sep 2018 14:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:reply-to:subject:date:message-id:in-reply-to:references :mime-version; bh=t35L/+5/Qy0CxMXwygl647q2WqraZjiAQ5rjglDyr7A=; b=HClK+dL6/n9HRnGvkulHkLBSSRTg6TaYZx5w0km34u2TCL9al05VrshJgoUX0q6j40 NreuCR7Dhakx1X+bF4G3QeglBHmc45zt9bl4p7ZthQGeizZyg2FSoVvpG389nRWYH47k gAtJqhHZqyDiY7l/EvopEz1OG4MhQ/D1oN2AU1x5hK5yiBnPNrxIulMhjkshIEOr/PjE uID/Lpn3Sz4udIPF2pIY8Yah+fWLBYWbn+fmKM48FSYMVq14mdo3N6exywn/eXDjbpu2 RIPmL5lyTqjphKaT4Gp+0aczWKj6na77tYuSXK0rCJCUkw0NRfn6W0u9V50n6AggpxhV kn0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:reply-to:subject:date:message-id :in-reply-to:references:mime-version; bh=t35L/+5/Qy0CxMXwygl647q2WqraZjiAQ5rjglDyr7A=; b=LK+7d0/oAY2vq72TGFOmu5z6BMpy28nbPs5oXmm+7t+zSeNCQjANl0PxmSj/hsnjey frE72rYGwhOfEcAzg59u9U2kxQYqI/qpMVMgo0d/gd6Uldjl/8sLpdFE7pFNA0rliZ3y ziUS3OxiWS0P1qFc1/fynpLxZe2BWNj5jIlbW/L0AI5f1qplMBrquT6AdHlUIS3/AhjN ttWt4UKdwD+88BejNLWJZahF3XmonPlkgx6IyD81y/l+6BTomrpDPonTnRQnuE9VWK/S drrpZgp/0VsJeueDg9NIeyKQ2z2PCGFQOBrXdK/SyHxAZpYAkSQvpwVXOyXta06uHd+6 Xrig== X-Gm-Message-State: APzg51BRHIc1MPV/5RaaH6ZpvdOidFsZxqr1A57OT/WEJx11Dp/zJI+1 RBxv+NwFFGwJcbozrZMZisQWvCU4 X-Google-Smtp-Source: ANB0VdYhMUaz/3ZVj5yr24F7olZCu3mlFxYI9OMgz9DCeKagOVCpBMyHuOt5GNPSHOID4l1XZVJV5g== X-Received: by 2002:adf:a936:: with SMTP id u51-v6mr21907820wrc.175.1536009814342; Mon, 03 Sep 2018 14:23:34 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id b10-v6sm5633527wmc.28.2018.09.03.14.23.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 14:23:33 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: chrony-3.3 hangs at boot Date: Mon, 03 Sep 2018 22:23:18 +0100 Message-ID: <59082281.yOvkZa28M0@dell_xps> In-Reply-To: References: <2280527.7xjltv8kMM@dell_xps> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2427710.gRelH4Spol"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: 9e539e3b-862a-449b-94f9-f3db41c5eb92 X-Archives-Hash: 54bf619be8b24ceab4c88e525bbe76d7 --nextPart2427710.gRelH4Spol Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" On Monday, 3 September 2018 19:10:52 BST Holger Hoffst=C3=A4tte wrote: > On Mon, 03 Sep 2018 17:48:53 +0100, Mick wrote: > > I just noticed today chronyd hangs during boot for a minute and a half.= =20 > > The logs do not reveal anything amiss. I suspect it waits for a network > > connection, which is not yet up when chronyd launches. > >=20 > > Sep 3 17:38:26 asus syslog-ng[1858]: syslog-ng starting up; > > version=3D'3.13.2' Sep 3 17:38:26 asus chronyd[1930]: chronyd version = 3.3 > > starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP +SCFILTER -SIGND > > +ASYNCDNS -SECHASH +IPV6 -DEBUG) Sep 3 17:38:26 asus chronyd[1930]: > > Frequency -13.776 +/- 1.023 ppm read from /var/lib/chrony/drift > > Sep 3 17:38:26 asus acpid[1894]: starting up with netlink and the input > > layer Sep 3 17:38:26 asus acpid[1894]: 1 rule loaded > > Sep 3 17:38:26 asus acpid[1894]: waiting for events: event logging is = off > > Sep 3 17:40:57 asus kernel: random: crng init done > > Sep 3 17:40:57 asus kernel: random: 3 urandom warning(s) missed due to > > ratelimiting > > Sep 3 17:40:57 asus chronyd[1930]: Loaded dump file for 10.10.10.1 > >=20 > >=20 > > Have you noticed the same? > >=20 > > Is there a fix/workaround for this? >=20 > Yes and yes; countless people have been hit by this, I was probably the > first to notice/debug it. It happens due to changes in Linux' random numb= er > generator, which is now slowly making it into older kernels as well. >=20 > If you're interested in the gory details you can read about them > in the thread "Chrony vs. Linux RNG" at [1] or just update to chrony-3.4r= c1 > which contains the "fix". Despite being an rc1 it works fine as usual, > so short of applying the patch to your local build this is the easiest > option. >=20 > cheers, > Holger >=20 > [1] > https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-users/2018/0= 4/ > threads.html#00036 Thanks for this Holger, I had noticed in the logs a message just before=20 chronyd started the kernel reporting "3 urandom warning(s) missed due to=20 ratelimiting" but as this has been happening since the upgrade to 4.14.65- gentoo I didn't think it was kernel related. Anyway, I can confirm 3.4_pre1 available in the tree starts up fine with no= =20 delays. However, while shutting down I noticed: * Stopping chronyd ... * Error: chronyd failed to stop This is repeatable if I try to stop it manually. Version 3.3 didn't have t= his=20 problem. =2D-=20 Regards, Mick --nextPart2427710.gRelH4Spol Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAluNpkYACgkQ6WnU8jC9 5dfWVRAArLbamchx2ekcESlZFelsk4MyDc2Z+1VgBL06G8Yl7BuVr6kvSqRNTWqZ 2lnCWGSporv0KYG/W/oLhfHvD1zWhwOSc5gstwdqipYKzbQC7aaPwF0x2VVwdmXi WggrUHd9K+CVs6kPHWmGAOQm1LmeLv5oUnE1tvGPYGckl576pjj5GKi4tDxsY49A uqyHtXiMNTmoX3E1N5du3gt+iyZDutPv31DxB5harRBay702Wo/ojk0nDSzdGczl Nf/BPTtEbVpV17njLHFmVx6PsqYS5G2zu7mCgKsXQlmvoBiYAz2Fe3699ffqZOIy JMNXlRmNhcJ8lAOIQZ/Eoi0XfWoPfpAo93N6jJ3zkCLoujm9QNsC7BW4Oo8apGLU 5GQRvJZHqLi5kDd95M0bqWNT0g9QRWoIB/a2YRpTmq92Lzu6hsxont1/nItTRyUl kLjeJbMBN59+iAFZBDVOIRoek2/ITEbxIxrQw0e1gF8RusUdQ5DRBcvaszHzBrNR 3BY7JaRajql7KKcdOmO0wZ22o6/Y1hRtgsL3GiuEKQZTkegt6jf7eoOa1guPWUVV VCdKJA9+a3BdAESqBJSLZwHyx+5RnOHb9VxqnOaB4VCyo57hnMBYUSSaBOjSM57k pM090HZRP9HCQSe5BGChSiBV7J1kD5RcCU683ULny/WkK+QRYYw= =hqO+ -----END PGP SIGNATURE----- --nextPart2427710.gRelH4Spol--