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

invoking svnserve with inetd

From: Jason Dunham <jdunham_at_SFIS.com>
Date: 2004-02-21 02:16:25 CET

New user alert!

I'm confused about installing svnserve per the manual, probably just
some lack of Linux knowledge on my part.

-------------- From the manual, section 6 --------------

When invoked with the --inetd option, svnserve attempts to speak with a
Subversion client via stdin and stdout using a custom protocol. This is
the standard behavior for a program being run via inetd. The IANA has
reserved TCP port 3690 for the Subversion protocol, so on a Unix-like
system you can add a line to /etc/services like this (if it doesn't
already exist):
svnserve 3690/tcp # Subversion protocol
...and when a client connection comes into your server on port 3690,
inetd will spawn an svnserve process to service it.

------------------- end manual quote -------------------

So if svnserve is invoked by inetd, how do I pass the --inetd option to
it?

I added the above line to /etc/services, but it doesn't accept
connections. The manual shows "svnserve --inetd" invoked by the command
line, but I have to assume that's not the normal way to start it. Is
that line in /etc/services enough, or is there somewhere else in the
/etc configuration where svnserve must be configured?
I get a feeling that something very simple is missing, but I couldn't
figure it out from the manual.

I am also running the iptables firewall, but I added a line to accept
port 3690 connections.

Thanks for any help on this.

Jason Dunham

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 21 02:16:44 2004

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.