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 719678

Summary: Running "rndc-confgen -a" simply hangs forever
Product: Red Hat Enterprise Linux 6 Reporter: Robert Scheck <redhat-bugzilla>
Component: bindAssignee: Adam Tkac <atkac>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: ovasik, robert.scheck
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-11 08:26:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Scheck 2011-07-07 16:26:52 UTC
Description of problem:
Running a "rndc-confgen -a" to generate key etc. simply hangs forever, just
a "rndc-confgen -a -r /dev/urandom" is a workaround.

Version-Release number of selected component (if applicable):
bind-9.7.3-2.el6_1.P1.1.x86_64

How reproducible:
Everytime, just install the bind RPM package on a fresh installed RHEL 6.1
and run "rndc-confgen -a".

Actual results:
Running "rndc-confgen -a" simply hangs forever.

Expected results:
Normal working "rndc-confgen -a" like in the past.

Additional info:
[...]
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f9457877000, 4096)            = 0
read(3, 0x7fff624a2580, 16)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "NU1\347\24071_", 16)           = 8
read(3, 0x7fff624a2580, 8)              = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\3{\333I)\253\363R", 8)        = 8
read(3, 0x7fff624a2580, 10)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [], NULL, NULL^C <unfinished ...>

Comment 2 Robert Scheck 2011-07-07 16:33:12 UTC
I've cross-filed this issue as Service Request 00504093.

Comment 3 Adam Tkac 2011-07-11 08:26:23 UTC
rndc-confgen needs lot of entropy from /dev/random so if you don't have enough randomness there, rndc-confgen simply waits for more. You can, for example, start typing on keyboard to speed up it.

This is indented behaviour,  not a bug, closing.