Hide Forgot
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 ...>
I've cross-filed this issue as Service Request 00504093.
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.