Subversion - svnserve over xinetd


If you want to run svnserve through xinetd (documentation still refers to inetd) :

  1. Create file /etc/xinetd.d/svnserve :

# default: on service svnserve { socket_type = stream protocol = tcp user = root wait = no disable = no server = /usr/bin/svnserve server_args = -i -r /path/to/svn/projects port = 3690 }

/path/to/svn/projects is the repository you want to share, if you don’t use -r, you’d need to specify the full path to the svn repository, which should be avoided.

  1. type the following, it will add subversion ports to the list of services. echo "svnserve 3690/tcp" >> /etc/services echo "svnserve 3690/udp" >> /etc/services

  2. Open tcp/3690 in your firewall

  3. Restart xinetd

  4. try telnet localhost 3690

  5. if succesful, try “svn list svn://localhost/”

  6. Try from a remote location

  7. If not working, set up tcp_wrappers

svnserve : ALL : allow

This would allow anyone to connect to svnserve

Thanks for reading this post!

Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!