This area is an archive and is no longer actively maintained. Information found on this page is likely to be extremely out of date and therefore highly inaccurate. We recommend the Ximbiot - CVS Wiki for up-to-date information about CVS and its associtated tools.

If you do find anything useful on this page that is not yet in the Ximbiot - CVS Wiki and you have the time, please add it!

Fix/workaround for CVS vs. 4 args to inetd

Fix/workaround for CVS vs. 4 args to inetd

If your version of the inetd networking daemon, which is used to start the CVS pserver server, only allows 4 arguments, and you want to specify more than 4 repositories with --allow-root, you have a problem.

One simple fix/workaround is to have inetd run a short perl or shell script which runs CVS, for example:

#!/bin/sh exec cvs --allow-root=a --allow-root=b pserver

A possibly better solution would be to provide a way to get the list of repositories from a config file (probably a new global config file whose location would be specified with a new --global-config option). Someone has proposed the ability to specify a file containing only allowed roots, but seems to me that the global config idea accomplishes the same things and is much more expandable for the future.

[Cyclic Home]

Derek Price, CVS developer and technical editor of Essential CVS (Essentials line from O'Reilly Press) , and others offer consulting services and training through Ximbiot.