I reinstalled the haveged package to resolve the issue – didn’t enable the systemd haveged.service – and then went hunting for the thing which was starting the systemd service – found the answer as follows –
systemd Journal entry –
[ 1.383126] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
CLI investigation –
# systemctl show haveged.service
.
.
WantedBy=sys-devices-virtual-mem-random.device
.
.
#
# systemctl status sys-devices-virtual-mem-random.device
● sys-devices-virtual-mem-random.device - /sys/devices/virtual/mem/random
Loaded: loaded
Active: active (plugged) since Wed 2024-09-18 09:03:05 CEST; 49min ago
Device: /sys/devices/virtual/mem/random
#
# systemctl list-dependencies sys-devices-virtual-mem-random.device
sys-devices-virtual-mem-random.device
● └─haveged.service
#
Don’t bother looking further in the systemd Journal – AFAICS, there ain’t nothing there related to the virtual memory device “random” issue …
Has anyone else noticed this?
BTW, there’s another little systemd service related to “random” – “systemd-random-seed.service” – for people trying to mirror systems, this is quite relevant …
Yes, I am aware of the HAVEGED project’s GitHub notice – which is why I removed the haveged package and, noticed the system’s behaviour.
# cat /proc/sys/kernel/random/entropy_avail
256
#
Which is apparently OK because, this /proc/sys/ entry isn’t actually indicating the available entropy – rather the number of bits the random number generator is capable of generating – needed for encryption keys …
Personally, I’m trying to figure out the purpose of this thread. Seems as though this should be in “chat”.
And isn’t this subject applicable to other openSUSE distros (?) - why just 15.6 ?
I’ve spent 2-3 hours reading one referenced link to another. I appreciate the knowledge that @GrandDixence2 has provided in this thread , and all the other threads and links I’ve read so far.
But, ultimately, I still don’t understand the purpose of this thread.
This document describe the random number generator in newer linux kernels:
An entropy pool size of 256 is a clear sign for a linux kernel with ChaCha20 DRNG. Hardware random number generators may provide true random data via the add_hwgenerator_randomness API to feed this ChaCha20 DRNG. Check for available hardware random number generators:
Reading the BSI documents, it seems that with Leap 15.6 – Kernel version 6.4 – and, suitable hardware – hardware which supports ChaCha20 DRNG – needs neither the haveged package nor the rng-tools package.
To Bug Report or, not to Bug Report? – That’s the question …
Thanks – the issue is almost resolved – except for an extremely tiny “but” –
No one seems to have picked up the systemd Virtual Memory random device dependency …
Adding a comment to an existing (old) Bug Report is possibly not so productive but, I’ll drop something onto the Bug Report #1190024 and, include the BSI information supplied by GrandDixence2.