What were you trying to do that didn't work?
rngd service fails in ARM64 VM in Azure, because can't open any entropy source:
Disabling 10: Named pipe entropy input (namedpipe) Disabling 6: JITTER Entropy generator (jitter) [hwrng ]: Initialization Failed [rndr ]: No HW SUPPORT [rndr ]: Initialization Failed Can't open any entropy source Maybe RNG device modules are not loaded
Not see this issue in x86_64. x86_64 has rdrand CPU flag which doesn't exist in ARM64 VM.
ARM64 VM has aes CPU flag, and can see /dev/hwrng exists.
See the jitter is disabled in rngd config in RHEL-9.7, which is not disabled in RHEL-9.6:
RNGD_ARGS="--fill-watermark=0 -x pkcs11 -x nist -x qrypt -x namedpipe -x jitter -D daemon:daemon"
Affect by this patch: https://gitlab.com/redhat/centos-stream/rpms/rng-tools/-/merge_requests/20/diffs#7f3ff4ae69fc7774465ebe90b9083b2472e2e2d2
What is the impact of this issue to you?
rngd.service failed
Please provide the package NVR for which the bug is seen:
rng-tools-6.17-2.el9.aarch64
How reproducible is this bug?:
100%
Steps to reproduce
- Create an ARM64 VM on Azure(Standard_D2pds_v6 size)
- Check rngd.service status
Expected results
rngd.service is running
Actual results
Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Disabling 7: PKCS11 Entropy generator (pkcs11) Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Disabling 5: NIST Network Entropy Beacon (nist) Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Disabling 9: Qrypt quantum entropy beacon (qrypt) Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Disabling 10: Named pipe entropy input (namedpipe) Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Disabling 6: JITTER Entropy generator (jitter) Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Initializing available sources Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: [hwrng ]: Initialization Failed Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: [rndr ]: No HW SUPPORT Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: [rndr ]: Initialization Failed Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Can't open any entropy source Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 rngd[29263]: Maybe RNG device modules are not loaded Aug 06 04:01:32 LISAv2-walaauto2500-BF94-0805172619-role-0 systemd[1]: rngd.service: Main process exited, code=exited, status=1/FAILURE ░░ An ExecStart= process belonging to unit rngd.service has exited.
- is cloned by
-
RHEL-107681 [Azure][RHEL-10][ARM]rngd service fail: Can't open any entropy source
-
- Closed
-
- is related to
-
RHEL-78325 [Azure][Image]Suggest to remove rng-tools
-
- Closed
-