From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#37501: [core-updates] Entropy starvation during boot Date: Tue, 24 Sep 2019 17:48:02 +0200 Message-ID: <87sgolae6l.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52906) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCn3o-0000w2-29 for bug-guix@gnu.org; Tue, 24 Sep 2019 11:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCn3m-0004Cx-Nc for bug-guix@gnu.org; Tue, 24 Sep 2019 11:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCn3m-0004Cr-KN for bug-guix@gnu.org; Tue, 24 Sep 2019 11:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCn3m-0007j5-Go for bug-guix@gnu.org; Tue, 24 Sep 2019 11:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:52792) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCn2u-0008Dj-0h for bug-guix@gnu.org; Tue, 24 Sep 2019 11:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCn2s-0003b7-Qf for bug-guix@gnu.org; Tue, 24 Sep 2019 11:48:07 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:39981) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCn2s-0003ag-9M for bug-guix@gnu.org; Tue, 24 Sep 2019 11:48:06 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 08310245 for ; Tue, 24 Sep 2019 11:48:04 -0400 (EDT) Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 33508D6005E for ; Tue, 24 Sep 2019 11:48:04 -0400 (EDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37501@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, After reconfiguring on the 'core-updates' branch, systems using the OpenSSH service will occasionally (not always!) hang forever during boot, waiting for entropy. Moving the mouse or mashing the keyboard allows the boot to proceed. I don't think this is limited to OpenSSH, but anything that calls getrandom() during startup. There is some information about this problem and various workarounds here, including links to recent LKML discussions: https://daniel-lange.com/archives/152-hello-buster.html For Guix, I believe adding (service urandom-seed-service-type) to %base-services should be sufficient, but have not verified this yet. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2KOrIACgkQoqBt8qM6 VPrWNwf/VNr5TutA5dxA8VwjPw5+oxW2hMc5lGVL7eFjFlXE89QrOTLJPZ175e/u Ix+Qbad5bcR1aW351Q9mTbWC9dKVIJIR3NXQgrTbVzW6amHt552EzdCi56+IKbV+ +C0qLq6H7O3+XfOc0nRCvGTO4kUayCmMvDuWD4yKUR3O5JcIbG+fnXCO38kuTTD+ aduKb6obtnSdkODhZowi/cZM7rARigu2pYH5QttNxkApNAbaLKn2LuOlcIo+ivu7 4brJstBNQqzN56Z0jfiYpgsV47J7isrP3f/6Ibp4yfd3afursMZzQpDcLI0gTkJV DSROMTGQPMkKN9DiMMgSULmtZF09ww== =/dUd -----END PGP SIGNATURE----- --=-=-=--