From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brice Waegeneire Subject: bug#36380: service urandom-seed takes too long on boot Date: Sun, 22 Mar 2020 08:43:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51619) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFwDC-0000Lr-TX for bug-guix@gnu.org; Sun, 22 Mar 2020 04:44:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFwDB-0003p2-Rx for bug-guix@gnu.org; Sun, 22 Mar 2020 04:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFwDB-0003ou-Oj for bug-guix@gnu.org; Sun, 22 Mar 2020 04:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFwDB-0002IH-LU for bug-guix@gnu.org; Sun, 22 Mar 2020 04:44:01 -0400 In-Reply-To: Sender: "Debbugs-submit" Resent-Message-ID: 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-mx.org@gnu.org Sender: "bug-Guix" To: 36380@debbugs.gnu.org Hello, It would be nice if we could reproduce this issue. Robert Vollmert writes: > Just ran across this article about Debian dealing with similar issues. > > https://daniel-lange.com/archives/152-hello-buster.html This article has been updated since then with a section[0] about a fix authored by Linus[1][2] and merged in Linux 5.4. The gist of it that now `getrandom()' will actively try to collect entropy in early boot, if it is missing, by using the CPU jitter. The Debian wiki is saying the same[3]. Since we are using actually using Linux-libre 5.4 as the default kernel this issue should probably be closed. [0]: https://daniel-lange.com/archives/152-hello-buster.html#linustotherescue [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f2dc2798b81531fd93a3b9b7c39da47ec689e55 [2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50ee7529ec4500c88f8664560770a7a1b65db72b [3]: https://wiki.debian.org/BoottimeEntropyStarvation Brice.