Hardware RNG Entropy Gatherer Daemon - failed to start

I just completed a Centos to Rocky migration and noticed the RNG service failed to start.

The service log shows: >

Service logs

June 14, 2024

10:27 AM

rngd.service: Failed with result ‘exit-code’.

systemd

10:27 AM

rngd.service: Main process exited, code=exited, status=1/FAILURE

systemd

10:27 AM

Maybe RNG device modules are not loaded

rngd

10:27 AM

Can’t open any entropy source

rngd

10:27 AM

[jitter]: Initialization Failed

rngd

10:27 AM

[jitter]: Unable to obtain AES key, disabling JITTER source

rngd

10:26 AM

[jitter]: Initializing AES buffer

rngd

10:26 AM

[jitter]: JITTER timeout set to 5 sec

rngd

10:26 AM

[rdrand]: Initialization Failed

rngd

10:26 AM

[hwrng ]: Initialization Failed

Any suggestions? thanks

On default Rocky 9.4, I don’t see this service at all.

Do I need to install it?

I think you need to uninstall it as it seems to be something left over from your CentOS system.

It looks like it’s part of “rng-tools”, which should be in the baseos repo, so sudo dnf install rng-tools should work.