From: Daniel Kahn Gillmor Date: Thu, 7 Aug 2008 02:37:50 +0000 (-0400) Subject: reporting bug about agonizingly long key generation. X-Git-Tag: monkeysphere_0.8-1~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a40118fa1132ee3e1f0427fcbf5a8d3d064a087;p=monkeysphere.git reporting bug about agonizingly long key generation. --- diff --git a/website/bugs/headless-servers-take-too-long-to-generate-host-key.mdwn b/website/bugs/headless-servers-take-too-long-to-generate-host-key.mdwn new file mode 100644 index 0000000..634f731 --- /dev/null +++ b/website/bugs/headless-servers-take-too-long-to-generate-host-key.mdwn @@ -0,0 +1,26 @@ +[[meta title="Running `monkeysphere gen-key` on a headless server takes way too long"]] + +When i try to generate a key on a headless machine (no kbd, no mouse, +no Human Input Device (HID) at all), `monkeysphere gen-key` hangs for +a *very* long time (a half hour at least) during the generation +process, particularly at this point: + + ms: generating server key... + + Not enough random bytes available. Please do some other work to give + the OS a chance to collect more entropy! (Need 197 more bytes) + +And sure enough, there really is very little entropy in these systems +at the time requested: + + 0 chomsky:~# cat /proc/sys/kernel/random/entropy_avail + 32 + 0 chomsky:~# + +It's not clear to me how to increase the entropy available to the +kernel without an HID. + +I've seen this happen on two machines now in the last week, and was +able to resolve it on the first one by plugging in a keyboard and +"massaging" it. This won't work for a machine that's out of physical +range, and has no keyboard to be plugged in anyway.