Svnadmin create weirdness and /dev/random


#1

I was enjoying the unofficial subversion support on fig recently, but last night, I ran into a bit of weirdness. I went to create another svn repository, and the svnadmin create command hung up, requiring a kill -9 to stop it. Wanting to see what it was hanging on, I did a strace on it, and here’s where it gets stuck:

open("/home/tonyc/svn/lrcdb/db/uuids", O_RDWR|O_LARGEFILE) = 11
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
fstat64(11, {st_mode=S_IFREG|0644, st_size=1024, …}) = 0
pread(11, “\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\2\0\0\0\t\0\0”…, 512, 0) = 512
time(NULL) = 1132170756
_llseek(3, 12855, [12855], SEEK_SET) = 0
write(3, “\3451\0\0(\0\0\0\222\307\31\273\f\0\0\0\24\0\0\200\1\0”…, 162) = 162
fsync(3) = 0
open("/dev/random", O_RDONLY) = 12
read(12, ***

The *** is where it’s frozen, trying to read from /dev/random. Indeed, when I try to cat /dev/random on fig, it hangs, rather than spitting out random ASCII, which is usually what happens on linux.

So, uh, anyone have any idea what’s going on?