Just add these edits, the cvsroot is a script.
Call it what you like. I have over twenty repositories
and growing. Don't forget the "pserver" at the end of
the script.
# grep pserver inetd.conf
cvspserver stream tcp nowait root /etc/cvsroot cvsroot
# more /etc/cvsroot
#!/bin/sh
exec /usr/local/bin/cvs \
--allow-root=/ops/rep1 \
--allow-root=/utr31/rep2 \
--allow-root=/utr31/rep3 \
--allow-root=/utr31/rep4 \
--allow-root=/utr31/rep5 \
--allow-root=/utr35/rep6 pserver
Anthony C. Anzalone
System and Network Administrator
25 Porter Street
Littleton, Mass 01460
Phone: 978-698-7407
FAX: 978-698-7500
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2000 11:02 AM
To: [EMAIL PROTECTED]
Subject: CVS Problem: limit on number of CVS repositories
Hello,
Here a description of the problem:
The file /etc/inetd.conf needs to be edited so inetd knows to run the
command
'cvs pserver' when it receives a connection on the right port.
By default, the port number is 2401.
The '--allow-root' option specifies the allowable CVSROOT directory.
If there is more than one CVSROOT directory, the option must be repeated.
For each (new) repository the corresponding CVSROOT directory must be
entered as
an '--allow-root' option in the 'inetd.conf' file!! (otherwise a connection
will not be allowed).
Since no more than five arguments are allowed in the field (in inetd.conf)
specifying the portlistener command, this limits the maximum number of
(distinct)
repositories to three(3) (cvs and pserver already count for two!).
Is there a work-around (better: a solution!) for this problem?
In other words: How can we make inetd work with more than three
repositories.
P.S. We need the inetd configuration to use, within CVS, the pserver
functionality, which in turn is necessary in order to use WinCVS as a
Windows Client to the CVS repository.
Thanks for your help,
Guido Duerinckx
Bj�rn Quirynen
Anzalone, Anthony.vcf