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:

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.