[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#533077: linux-image-2.6.26-2-486: on an idle system /dev/random gets depleted very quick



On Mon, 2009-06-15 at 11:44 +0200, Aurelien Jarno wrote:
> Bastian Blank a écrit :
> > On Mon, Jun 15, 2009 at 10:47:43AM +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. :-(

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: