Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141941 - svnserve does not respond to client requests
Summary: svnserve does not respond to client requests
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 15:41 UTC by Alexander Veit
Modified: 2006-08-03 14:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Veit 2006-07-27 15:41:04 UTC
When svnserve is run with required user authentication it does not respond to client requests. The svn client freezes. This is probably caused by a lack of entropy through /dev/random (see http://www.svnforum.org/2017/viewtopic.php?p=3129).

~ # cat /etc/conf.d/svnserve
SVNSERVE_OPTS="--root=/var/svn"
SVNSERVE_USER="svn"
SVNSERVE_GROUP="svn"

~ # cat /var/svn/test/conf/svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd


~ # emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r4, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis oss pam pcre pdflib perl png pppd python readline reflection session spell spl ssl tcpd unicode vorbis xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


*  dev-util/subversion
      Latest version available: 1.3.2-r1
      Latest version installed: 1.3.2-r1
      Size of files: 6,674 kB
      Homepage:      http://subversion.tigris.org/
      Description:   A compelling replacement for CVS
      License:       Apache-1.1


*  dev-libs/apr
      Latest version available: 0.9.12
      Latest version installed: 0.9.12
      Size of files: 1,024 kB
      Homepage:      http://apr.apache.org/
      Description:   Apache Portable Runtime Library
      License:       Apache-2.0


Keywords: subversion svnserve apr apache portable runtime library /dev/urandom /dev/random hangs
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-27 15:50:01 UTC
So, recompile dev-libs/apr w/ USE="urandom"... 
Comment 2 Alexander Veit 2006-08-03 14:36:46 UTC
USE="urandom" emerge apr seems to solve the problem that could be reproduced on five different machines. Why not emerging apr with the urandom use flag by default? The current setting seems to be not very usable.