[Bug 4395] New: subversion: Access via svnserve hangs due to lack of entropy in /dev/random

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Sun Jun 29 13:52:47 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4395

           Summary: subversion: Access via svnserve hangs due to lack of
                    entropy in /dev/random
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: treitmayr at devbase.at


Symptoms:
When accessing subversion via svnserve, the svnserve processes are started but
immediately hang. Sometimes the access finishes after some time (eg. 1 min),
but sometimes it does not finish at all.

Cause:
Subversion uses libapr which accesses /dev/random. If the stream of random
numbers runs out of entropy then libapr (and svnserve) hangs until enough
numbers from /dev/random are generated.
Also see this bug report:
http://subversion.tigris.org/issues/show_bug.cgi?id=2590

Solution:
Use /dev/urandom instead of /dev/random by adding the following line to the apr
recipe:
EXTRA_OECONF = "--with-devrandom=/dev/urandom"

Test Environment:
SlugOS/BE 4.9 beta
apr 1.2.12
subversion 1.4.6

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list