lkml.org 
[lkml]   [2019]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 5.3-rc8
From
Date
19.09.2019 00:56, Eric W. Biederman пишет:

> The cheap solution appears to be copying a random seed from a previous
> boot, and I think that will take care of many many cases, and has
> already been implemented. Which reduces this to a system first
> boot issue.

No, this is not the solution, if we take seriously not only getrandom
hangs, but also urandom warnings. In some setups (root on LUKS is one of
them) they happen early in the initramfs. Therefore "restoring" entropy
from the previous boot by a script that runs from the main system is too
late. That's why it is suggested to load at least a part of the random
seed in the boot loader, and that has not been commonly implemented.

--
Alexander E. Patrakov

[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2019-09-18 22:16    [W:0.174 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site