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 1609888

Summary: verbose 'rngd --quiet'
Product: Red Hat Enterprise Linux 7 Reporter: Vilém Maršík <vmarsik>
Component: rng-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED ERRATA QA Contact: Vilém Maršík <vmarsik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: bhu, tumeya, vmarsik, yferszt
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: miscoding of some log messages Consequence: messages printed even when quiet mode selected Fix: recoding of message to respect quiet flag Result: quiet mode prints nothing to the console
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 07:47:40 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:
Bug Depends On:    
Bug Blocks: 1532680    

Description Vilém Maršík 2018-07-30 18:04:40 UTC
Description of problem:
# rngd --quiet
Initalizing available sources
Enabling RDRAND rng support
Enabling JITTER rng support
(same for 'rngd -q')

Version-Release number of selected component (if applicable):
rng-tools-6.3.1-1.el7.x86_64
(was okay before, rng-tool-5-15.el7 I think)

How reproducible:
100%

Steps to Reproduce:
1. rngd --quiet 
2.
3.

Actual results:
Diagnostic messages in quiet mode

Expected results:
Minimal output only (or just $ERRORLEVEL)

Additional info:

Comment 2 Vilém Maršík 2018-07-30 18:06:15 UTC
Related to Bug 1558616 - mismatch of the rngd options in help and man pages

Comment 3 Vilém Maršík 2018-07-30 18:09:38 UTC
I think this is a regression against https://bugzilla.redhat.com/show_bug.cgi?id=1558616#c4 (I think that was rng-tool-5-15.el7 , but forgot to write down the exact version)

Comment 5 Neil Horman 2018-07-30 18:45:50 UTC

Ok, please confirm that this build allows acts as it should.  It works for me:
 https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=17450207

Comment 6 Vilém Maršík 2018-07-31 11:49:29 UTC
Looks good to me:

# rpm -q rng-tools
rng-tools-6.3.1-2.el7.x86_64

# rngd
Initalizing available sources
Failed to init entropy source 0: Hardware RNG Device
Failed to init entropy source 1: TPM RNG Device
Enabling RDRAND rng support
Enabling JITTER rng support

# rngd --quiet

# rngd -q

# echo $?
0

Comment 8 Vilém Maršík 2018-08-01 16:17:49 UTC
Looks good in RHEL-7.6-20180801.n.0 Server x86_64 :

# rpm -q rng-tools
rng-tools-6.3.1-2.el7.x86_64

# rngd
Initalizing available sources
Failed to init entropy source 0: Hardware RNG Device
Failed to init entropy source 1: TPM RNG Device
Enabling RDRAND rng support
Enabling JITTER rng support

# killall rngd

# rngd -q

# killall rngd

# rngd --quiet

#

Comment 11 errata-xmlrpc 2018-10-30 07:47:40 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, 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-2018:3022