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

RE: More on possible client authentication

From: Gerhard Hannemann <gerhard.hannemann_at_printsoft.com>
Date: 2006-06-21 09:19:09 CEST

Hi,

I reconfigured the apr section or the subversion source using:
 ./configure --with-devrandom=/dev/urandom
I found that I also had to turn on the urandom daemon.
So far so good - no hang-ups using the previous tests that originally caused
the symptoms in the svn client.
I will run this for the next 24 hours or so and report back.
Thanks for all the help.

Regards,
Gerhard

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006q2@ryandesign.com]
Sent: Tuesday, 20 June 2006 5:54 PM
To: Gerhard Hannemann
Cc: users@subversion.tigris.org
Subject: Re: More on possible client authentication

On Jun 20, 2006, at 01:40, Gerhard Hannemann wrote:

>> One possibility would be that it's taking a long time to generate
>> random bytes. If you machine doesn't have a suitable source of
>> entrypy, /dev/random could be quite slow. You might try recompiling
>> APR and telling it to use /dev/urandom (via the --with-devrandom flag
>> to configure).
>
> I thought APR is only relevant when using apache and access
> repositories
> using http.
> Currently I only access the repository using svn and file.
> It APR or random number generator device still relevant in this case?

Yes, the advice is still relevant. The Apache Portable Runtime (APR)
is not related to the Apache web server, other than that they're both
made by the same group, and that the Apache web server uses APR.
Subversion also uses APR, always, regardless of what repository
access method is being employed. As I understand it, APR gives you a
common interface to things which typically vary between operating
systems, and since Subversion is supposed to run on many operating
systems, they decided to use APR rather than reinvent several wheels.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 21 09:21:15 2006

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