Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2015570

Summary: [RHEL-8.6] update rng-tools to 6.14-2 and jitterentropy to 3.3.1
Product: Red Hat Enterprise Linux 8 Reporter: Vladislav Dronov <vdronov>
Component: rng-toolsAssignee: Vladislav Dronov <vdronov>
Status: CLOSED ERRATA QA Contact: Vilém Maršík <vmarsik>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.6Keywords: Rebase, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.6   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rng-tools-6.14-4.git.b2b7934e.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:24:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladislav Dronov 2021-10-19 14:11:23 UTC
this bug is a follow-up of bz1956248.

update rng-tools to 6.14 and jitterentropy lib to 3.3.0 + important upstream fixes.

rng-tools:
upstream: https://github.com/smuellerDD/jitterentropy-library/
fedora: https://src.fedoraproject.org/rpms/jitterentropy/

jitterentropy-lib:
upstream: https://github.com/nhorman/rng-tools/
fedora: https://src.fedoraproject.org/rpms/rng-tools/

Comment 2 Vladislav Dronov 2021-11-23 22:38:31 UTC
[CI] [GATING] [DONE] rng-tools-6.14-4.git.b2b7934e.el8 passed gating because all required tests passed

Brew build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1805045
CI Dashboard: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/41472448

Comment 3 Vladislav Dronov 2021-11-25 15:26:52 UTC
could you please provide Verified:Tested for this bz, so i can proceed with its errata?
the test plan is the same as for the previous version:
https://bugzilla.redhat.com/show_bug.cgi?id=1973157#c5 (just the download links are different, see them above)

Comment 6 Vilém Maršík 2021-12-17 01:32:56 UTC
Looks good on RHEL-8.6.0-20211213.3 aarch64:
# cat /proc/sys/kernel/random/entropy_avail
42
# systemctl status rngd
● rngd.service - Hardware RNG Entropy Gatherer Daemon
   Loaded: loaded (/usr/lib/systemd/system/rngd.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
# rngtest -c 1000 </dev/random
rngtest 6.14
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
(killed after a longer time)
^Crngtest: bits received from input: 96
rngtest: FIPS 140-2 successes: 0
rngtest: FIPS 140-2 failures: 0
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 0
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=0.000; avg=0.000; max=0.000)bits/s
rngtest: FIPS tests speed: (min=0.000; avg=0.000; max=0.000)bits/s
rngtest: Program run time: 66793345 microseconds
# cat /proc/sys/kernel/random/entropy_avail
37
# rngd -l
Entropy sources that are available but disabled
1: TPM RNG Device (tpm)
5: NIST Network Entropy Beacon (nist)
Available and enabled entropy sources:
6: JITTER Entropy generator (jitter)
Available entropy sources that failed initalization:
0: Hardware RNG Device (hwrng)
4: ARM v8.5 RNDR Instruction RNG (rndr)
# rngd -x tpm -x nist -x hwrng -x rndr -n jitter
Disabling 1: TPM RNG Device (tpm)
Disabling 5: NIST Network Entropy Beacon (nist)
Disabling 0: Hardware RNG Device (hwrng)
Disabling 4: ARM v8.5 RNDR Instruction RNG (rndr)
Enabling 6: JITTER Entropy generator (jitter)
# cat /proc/sys/kernel/random/entropy_avail
87
# rngtest -c 1000 </dev/random
rngtest 6.14
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
rngtest: bits received from input: 20000032
rngtest: FIPS 140-2 successes: 1000
rngtest: FIPS 140-2 failures: 0
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 0
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=12.169; avg=6823.116; max=16939.506)Kibits/s
rngtest: FIPS tests speed: (min=119.959; avg=125.024; max=127.157)Mibits/s
rngtest: Program run time: 3015353 microseconds
# cat /proc/sys/kernel/random/entropy_avail
3594

Comment 8 errata-xmlrpc 2022-05-10 15:24:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rng-tools bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2057