You are not logged in.

#1 2019-09-24 08:54:54

Atari
Member
Registered: 2016-04-20
Posts: 35

uninitialized urandom read

Hello,

I've updated my VPS server after a while and now the log shows several entries such as:

kernel: random: lvm: uninitialized urandom read (4 bytes read)

Any idea what's the root cause?

full log: https://pastebin.com/VJ1m6SXY

Last edited by Atari (2019-09-24 08:57:00)

Offline

#2 2019-09-24 09:03:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: uninitialized urandom read

Atari wrote:

Any idea what's the root cause?

lvm trying to read urandom before it's initialised. As far as log messages go, that one's pretty self-explanatory, no?

EDIT: https://wiki.archlinux.org/index.php/Ra … ev/urandom

Last edited by WorMzy (2019-09-24 09:20:24)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-09-24 09:21:35

Atari
Member
Registered: 2016-04-20
Posts: 35

Re: uninitialized urandom read

Hello, how can it be solved then? It has to do with the systemd dependency order for the inits?

Offline

#4 2019-09-24 10:29:02

loqs
Member
Registered: 2014-03-06
Posts: 17,472

Re: uninitialized urandom read

Options to seed the entropy pool:

  • If the system uses systemd-boot that can use a random-seed to seed the entropy-pool

  • haveged

  • the kernel parameter random.trust_cpu=on if the CPU supports RDRAND

Offline

Board footer

Powered by FluxBB