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

Problem with running svnserve with -d

From: Christopher Budnick <cbudnick_at_gmail.com>
Date: 2006-07-26 01:48:01 CEST

Hello,

I'm currently trying to troubleshoot an issue with svnserve (when run
as a daemon with the -d option) being unable to authenticate users as
soon as the SSH connection to the server is lost or terminated.

Taking a look at it, it looks like it's trying to access /dev/urandom
whichs works as long as logged in, but then stops working after.

Steps to reproduce:

1) Connect to the server through SSH
2) Launch svnserve -d
3) Testing it works fine now
4) End SSH connection
5) Testing stops working and returns "file not found"

Cheers,
Christopher

Also, this is a partial strace:

26037 read(3, "### This file is an example pass"..., 4096) = 372
26037 read(3, "", 4096) = 0
26037 close(3) = 0
26037 munmap(0xbf5ff000, 4096) = 0
26037 write(4, "( success ( ( CRAM-MD5 ) 36:d886"..., 69) = 69
26037 read(4, "( CRAM-MD5 ( ) ) ", 4096) = 17
26037 open("/dev/urandom", O_RDONLY) = -1 ENOENT (No such file or directory)
26037 write(4, "( failure ( 39:Internal server e"..., 59) = 59
26037 read(4, "( CRAM-MD5 ( ) ) ", 4096) = 17
26037 open("/dev/urandom", O_RDONLY) = -1 ENOENT (No such file or directory)
26037 write(4, "( failure ( 39:Internal server e"..., 59) = 59
26037 read(4, "( CRAM-MD5 ( ) ) ", 4096) = 17
26037 open("/dev/urandom", O_RDONLY) = -1 ENOENT (No such file or directory)
26037 write(4, "( failure ( 39:Internal server e"..., 59) = 59
26037 read(4, "( CRAM-MD5 ( ) ) ", 4096) = 17
26037 open("/dev/urandom", O_RDONLY) = -1 ENOENT (No such file or directory)
26037 write(4, "( failure ( 39:Internal server e"..., 59) = 59
26037 read(4, "( CRAM-MD5 ( ) ) ", 4096) = 17
26037 open("/dev/urandom", O_RDONLY) = -1 ENOENT (No such file or directory)
26037 write(4, "( failure ( 39:Internal server e"..., 59) = 59
26037 read(4, "", 4096) = 0
26037 close(4) = 0
26037 brk(0) = 0x9859000
26037 brk(0) = 0x9859000
26037 brk(0x9853000) = 0x9853000
26037 brk(0) = 0x9853000
26037 brk(0) = 0x9853000
26037 brk(0) = 0x9853000
26037 brk(0x9840000) = 0x9840000
26037 brk(0) = 0x9840000
26037 exit_group(0) = ?
16270 <... accept resumed> 0x982d2fc, [16]) = ? ERESTARTSYS (To be restarted)
16270 --- SIGCHLD (Child exited) @ 0 (0) ---
16270 sigreturn() = ? (mask now [])
16270 waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}],
WNOHANG|WUNTRACED) = 26037
16270 waitpid(-1, 0xbff0afd0, WNOHANG|WUNTRACED) = -1 ECHILD (No child
processes)
16270 accept(3, <unfinished ...>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 26 01:49:13 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.