Web lists-archives.com

Re: FYI/RFC: early-rng-init-tools

On 2/24/2019 8:52 PM, Thorsten Glaser wrote:
> In buster/sid, I noticed a massive delay booting up my laptop
> and some virtual machines, which was reduced by hitting the
> Shift and Ctrl keys multiple times randomly during boot; a
> message “random: crng init done” would appear, and boot would
> continue.
> This is a well-known problem, and there are several bugs about
> this; new in buster/sid compared to stretch is that it also
> blocks urandom reads (I was first hit in the tomcat init script
> from this). This is especially noticeable if you use a sysvinit
> non-parallel boot, but I’m sure it also affects all others.

FTR this is supposedly fixed on the main architectures featuring an RNG
in the CPU by linux 4.19.20-1, which enabled RANDOM_TRUST_CPU. Which Ben
announced on this list[1] earlier this month.

Kind regards
Philipp Kern

[1] https://lists.debian.org/debian-devel/2019/02/msg00170.html