On Mon, 2009-06-15 at 13:03 +0200, Folkert van Heusden wrote: > > > >>> Now add strace to those commands. Do you see the problem? > > > >> Nope, works as expected: > > > > > > > > You have different libs than we all have. Ours shows: > > > > | open("/dev/urandom", O_RDONLY) = 3 > > > > | read(3, "\34\344C\242", 4) = 4 > > > > | close(3) = 0 > > > > > > > > > > Note that it is fixed in glibc 2.10 with kernels >= 2.6.29. > > > > It's "fixed" in that Drepper changed the kernel's ELF loader to > > initialise the random bytes itself. The entropy pool is still depleted > > by every process startup. :-( > > I noticed it during the development of my entropybroker package: I > noticed that it was constantly refilling /dev/random on all of my linux > boxes. Glad to know the bug is not in my program :-) > Should I submit a bug report for glibc? No, I reassigned this bug. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity.
Description: This is a digitally signed message part