Conversation

OVH Arch Linux VPS image is annoying. They installed and enabled dhcpcd but also have the systemd-networkd DHCP client enabled too. They race with each other and sometimes end up causing a 2 minute delay at boot. It also has the obsolete haveged service installed + enabled too.
2
9
Replying to
Modern Linux kernel has a proper CSPRNG and has dropped all of the cargo cult entropy exhaustion nonsense. /dev/random and getrandom(...) only block until the CSPRNG is initialized in early boot and never again. Rather than blocking indefinitely, the kernel also now fixes it.
1
2
If reading from /dev/random or calling getrandom(...) would block due to the CSPRNG not being initialized yet, the kernel starts generating jitter entropy until the CSPRNG is initialized. Using haveged is only adding extra complexity with no real benefits.
2
3
Show replies
Making sure that init reads at least one byte from getrandom(...) or /dev/random before spawning other processes essentially fixes /dev/urandom. The only remaining issue is that the kernel won't block for CSPRNG initialization internally for mitigations, etc. it seeds with it.
1