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

Re: Configuring Server in redhat enterprise 5

From: Paulo J. Matos <pocm_at_soton.ac.uk>
Date: Fri, 4 Jul 2008 16:39:31 +0100

On Fri, Jul 4, 2008 at 4:19 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:
> On Jul 4, 2008, at 09:50, Paulo J. Matos wrote:
>
>> I have installed rpm 1.4.2.2 in EL5 and I want to serve through svn+ssh.
>> The repositories should be at:
>> /repository/svn-repositories/
>

Hello Ryan.

> If you want to restrict svnserve to find repositories in that location only,
> you should use the -r option to svnserve. Since you don't start svnserve
> yourself, but instead the ssh server starts it for you when needed, you need
> some ssh configuration tricks:
>
> http://svnbook.red-bean.com/en/1.4/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshtricks
>

It says:
To begin, locate the home directory of the account you'll be using to
launch svnserve.

But I would guess that svnserve is started by ssh. And since the login
process is taken care of by ssh, there is no single user that launches
svnserve. So I am a bit confused.

>
>> However, I cannot find a place to make this the default location.
>> I created a few reps with svn admin and I can checkout through file://
>> in the localhost. Through ssh in localhost I get:
>> $ svn list svn+ssh://localhost/repository/svn-repositories/test
>> pocm06r_at_localhost's password:
>> svn: Can't open file
>> '/etc/opt/CollabNet_Subversion/conf/svnserve_auth_file': No such file
>> or directory
>>
>> Any suggestions?
>
> It sounds like you need to create the file
>
> /etc/opt/CollabNet_Subversion/conf/svnserve_auth_file
>

However, the rpm created the directory :
/etc/subversion
so would prefer to put it there. Why is subversion assuming that the
place for that file is in /etc/opt/ ... ?

Cheers,

Paulo Matos

>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-04 17:40:08 CEST

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.