[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Usage of /dev/random

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-18 15:32:11 CEST

On Aug 18, 2005, at 8:04 AM, Christoph Bartoschek wrote:

> Today i wondered why some commits took so long. Then I started svn
> commit
> with strace and saw for half a minute:
>
> open("/dev/random", O_RDONLY) = 3
> read(3,
>
> Obviously the commit hangs because there is not enough entropy in /
> dev/random.
> Is /dev/urandom really so insecure that one has to use /dev/random?

APR links to /dev/random by default, so that it can generate random
numbers (for UUIDs, for example). But, on systems that tend to hang
on /dev/random, it's recommended that you rebuild apr by running
its ./configure --with-devrandom=/dev/urandom.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 18 16:06:41 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.