Entropy is to low

I randomly checked the amount of entropy, please note in advance that haveged was currently installed!

root@Turris_JB:~# cat /proc/sys/kernel/random/entropy_avail

Nevertheless, check the installation and launch of the application

Package haveged (1.9.18-1) installed in root is up to date.
root@Turris_JB:~# /etc/init.d/haveged enable && /etc/init.d/haveged start
root@Turris_JB:~# ^C
root@Turris_JB:~# cat /proc/sys/kernel/random/entropy_avail

I’d check the maximum:

cat /proc/sys/kernel/random/poolsize

as on my big machine it’s 256. I expect that entropy_avail also won’t grow over it.

Anyway, I don’t expect there’s anything Turris-specific here, but I don’t really know this stuff. Maybe places like https://unix.stackexchange.com/q/704737/41413

in the past, the entropy value was always around 2.000

root@Turris_JB:~# cat /proc/sys/kernel/random/poolsize

The change in entropy creation is incomprehensible to me -

*** Subscribe to RSS kernel 5.10.119 caused the values of /proc/sys/kernel/random/entropy_avail and poolsize to be 256 - Unix & Linux Stack Exchange

*** kernel/git/torvalds/linux.git - Linux kernel source tree

*** Random number generator enhancements for Linux 5.17 and 5.18

The haveged function has no effect and the indicated entropy value … is haveged still necessary ?

root@Turris_JB:~# echo " Entropy:" $(cat /proc/sys/kernel/random/entropy_avail)/$(cat /proc/sys/kerne
 Entropy: 256/256


root@Turris_JB:~# sysctl kernel.random.entropy_avail
kernel.random.entropy_avail = 256

— Citation (Low Entropy - 22.03-Snapshot (change in kernel entropy pool logic) - #15 by hnyman - Installing and Using OpenWrt - OpenWrt Forum)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.