Getting svn to start on reboot

Questions regarding Subversion Server may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

Getting svn to start on reboot

Postby repo » Fri Jun 03, 2011 2:22 pm

Hi all,

I installed SVN following the well know guide.

It works after using

(logged in as root) /opt/bin/svnserve -i -r /home/svnowner/repos

but when i add the following line to /etc/inetd.conf

svn stream tcp nowait root /opt/bin/svnserve -i -r /home/svnowner/repos

it doesn't work. I read that telnetd should be started, but after enabling this through the synology/ config screen it shows the following line in /var/log/messages:

Jun 3 15:03:39 telnetd[7156]: networking/telnetd.c:make_new_session:246 could not getpeername

anyone any ideas?

thanks!
repo
I'm New!
I'm New!
 
Posts: 7
Joined: Wed May 11, 2011 5:11 pm

Re: Getting svn to start on reboot

Postby ArmyMan » Sun Oct 02, 2011 9:41 pm

Hi repo

In case you still have the problem, maybe it's because your entry in the inetd.conf is wrong.

It should be like this:
Code: Select all
svn stream tcp nowait root /opt/bin/svnserve svnserve -i -r /home/svnowner/repos


I would recommend you to make a user called 'svnowner' or such and only give that owner the rights to access your repositories. Then the command in inetd.conf would be like this:
Code: Select all
svn stream tcp nowait svnowner /opt/bin/svnserve svnserve -i -r /home/svnowner/repos


Hope this helps
ArmyMan
User avatar
ArmyMan
Trainee
Trainee
 
Posts: 14
Joined: Wed Nov 15, 2006 11:24 pm


Return to Subversion Server

Who is online

Users browsing this forum: No registered users and 2 guests