=?iso-8859-1?Q?J=F6rg?= Dorchain writes:
> 
> The cvs process tries to open ~root/.cvsignore.

This problem comes up here about twice each week.  Since it's been a
while since I gave the solution, I'm going to reiterate it so that
people who get sent to the archives in the future will be able to find
it easily.

First, add a -f global option to the CVS command in inetd.conf if it
isn't already there.  The line should look something like:

cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs -f 
--allow-root=/public/CVS pserver

If that doesn't solve the problem, then you have a defective inetd that
sets $HOME in the environment of processes it runs.  You can either have
inetd run a shell script that unsets $HOME and then runs CVS (which you
might need to do anyway to circumvent limits on the number of arguments
that inetd supports), or you can use env to run CVS with a pristine
environment by changing inted.conf to something like:

cvspserver  stream  tcp  nowait  root  /usr/bin/env -i /usr/local/bin/cvs -f 
--allow-root=/public/CVS pserver

(Note that env may or may not be in /usr/bin -- you have to set the path
right for your system.  Also, some versions of env use "-" instead of
"-i".)

-Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin

Reply via email to