Re: uuid generation on linux boxes

2003-11-07 Thread Ben Laurie
Ian Holsman wrote:

 I have a issue with a linux box not having enough entropy and hanging on
 a call to apr_uuid_get (as it calls /dev/random)
 
 I was wondering why we don't just use /proc/sys/kernel/random/uuid
 and use that for our uuid?

Presumably because no-one's made APR aware of it :-)

Cheers,

Ben.

-- 
http://www.apache-ssl.org/ben.html   http://www.thebunker.net/

There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit. - Robert Woodruff




Re: uuid generation on linux boxes

2003-11-06 Thread C. Michael Pilato
Ian Holsman [EMAIL PROTECTED] writes:

 I have a issue with a linux box not having enough entropy and hanging
 on a call to apr_uuid_get (as it calls /dev/random)
 
 I was wondering why we don't just use /proc/sys/kernel/random/uuid
 and use that for our uuid?

If you are building APR yourself, I believe you can pass
--with-devrandom=/dev/urandom to its configure script to solve this
problem.