You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Paulo J. Matos" <po...@soton.ac.uk> on 2008/07/04 14:50:46 UTC

Configuring Server in redhat enterprise 5

Hi all,

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/

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@localhost's password:
svn: Can't open file
'/etc/opt/CollabNet_Subversion/conf/svnserve_auth_file': No such file
or directory

Any suggestions?

-- 
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Configuring Server in redhat enterprise 5

Posted by "Paulo J. Matos" <po...@soton.ac.uk>.
On Fri, Jul 4, 2008 at 4:19 PM, Ryan Schmidt
<su...@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@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@subversion.tigris.org
> For additional commands, e-mail: users-help@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Configuring Server in redhat enterprise 5

Posted by Ryan Schmidt <su...@ryandesign.com>.
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/

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


> 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@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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org