[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: CVS Config problems

From: Tige D. Chastain
Subject: RE: CVS Config problems
Date: Thu, 05 Oct 2000 19:10:26 -0400

Larry Jones wrote:
> > The correct $HOME value should then be the users' home? I'm wondering if 
> > running
> > a script to set the correct values for $HOME would work... But this solutin 
> > seems
> > pretty ugly :-<
> $HOME shouldn't be set at all!  CVS is perfectly capable of figuring out
> where the user's home directory is, but if $HOME is set, it will just
> use it instead.  (That's intended to let the user override the default,
> which makes sense for stand-alone or client CVS, but not really for
> server CVS.  Since the same code is used for all three modes, however,
> it isn't really practical to make it work differently for the server.)
> The simplest thing to do is to use env to clear out the environment
> completely.  You can probably use it to run either tcpserver or cvs.

On my RH6.1 box, this is what I had to end up putting in 
/etc/inetd.conf to get CVS to allow me to pull down commits
over network (using pserver obviously):

cvspserver strea tcp nowait root /usr/sbin/tcpd /usr/bin/env \
HOME=/home/cvs /usr/bin/cvs -f --allow-root=/usr/src/cvs pserver

As soon as I did that, it worked like a charm.

I found this solution digging through the archives on
for info-cvs.  Strangly enough, I didn't find it in any of the 
"normal" documentation.

Hope this helps.

Tige D. Chastain

reply via email to

[Prev in Thread] Current Thread [Next in Thread]