Bug 719678 - Running "rndc-confgen -a" simply hangs forever
Summary: Running "rndc-confgen -a" simply hangs forever
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: bind
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adam Tkac
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-07 16:26 UTC by Robert Scheck
Modified: 2013-04-30 23:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-11 08:26:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.