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

Re: need help setting up svn+ssh://

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-20 15:18:01 CEST

Guido van Rossum <guido@python.org> writes:

> Where can I buy a clue?

Open-source celebrities get them for free. :-)

> I'm a newbie svn administrator. I have no desire to become an Apache
> administrator, so I'd like to use svnserve. I've got the 0.26 svn
> RPMs installed under Red Hat 9.

We're up to 0.27 now, and 0.28 will be released this weekend. Where
are you getting your RPMs from?

> I've successfully set up a svn repository. I configured svnserve to be
> run by (x)inetd when a connection is made to port 3690.

No need for this. Take a look at chapter 5 in the subversion book
(svnbook.red-bean.com). There's a section about svnserve in there.

There are two non-mutually-exclusive (but independent ways) to run
svnserve:

  1. have a daemon listening on port 3690, clients connected
      unauthenticated.

  2. have clients use their own ssh binaries to spawn "private"
      svnserve processes on the server. They authenticate via ssh,
      and the svnserve process runs as their own UID.

So it sounds like you want case #2, in which case, there was no need
to set up case #1, unless you want to provide anonymous read-access to
people someday.

> But no matter what I try, I get the following error messages:
>
> svn: Couldn't find a repository
> svn: No repository found in 'svn+ssh://<host>/home/subversion/<repos>'

svn+ssh:// requires that you use an *absolute* path after the
hostname. Is that what you're doing?

(Also, a future warning: because a bunch of users will be
reading/writing the berkeley-db repository files, be careful about
permissions and umasks. Many people make the 'svnserve' process on
the server into a wrapper-script which 1) sets a sane umask, 2) runs
the real svnserve.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 20 15:22:54 2003

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.