Joe Orton <[EMAIL PROTECTED]> writes:

> > Sander says there was a long thread about this, about how people
> > wanted "strong random", but now we're stuck with a situation where
> > apr_uuid_get() can block indefinitely...   :-(
> 
> Workarounds are:
> 
> 1. configure --with-devrandom=/dev/urandom
> 2. (while sleep 120; do ls -laR / > /dev/random; done) &
> 
> A solution is probably to add an apr_generate_quite_random_bytes() or
> something which prefers /dev/urandom over /dev/random, and/or times out
> reads from /dev/random and falls back on urandom, etc etc.

Or gstein has suggested that apr_generate_random_bytes() can grow a
new flag, indicating urandom is preferred.

Reply via email to