You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason Dunham <jd...@SFIS.com> on 2004/02/21 01:16:25 UTC
invoking svnserve with inetd
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
Re: invoking svnserve with inetd
Posted by "Perry E. Metzger" <pe...@piermont.com>.
"Jason Dunham" <jd...@SFIS.com> writes:
> 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.
You also need to add svnserve to the inetd.conf, or the equivalent on
your flavor of unix.
Perry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org