[Top][All Lists]

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

Re: Unable to connect to CVS: to Concurrent Versions System (CVS)

From: dstrauss
Subject: Re: Unable to connect to CVS: to Concurrent Versions System (CVS)
Date: Thu, 8 Mar 2001 12:29:33 -0500

On Wed, 7 Mar 2001 11:03:37 -0000, John Scott <address@hidden> wrote:
>  > -----Original Message-----
>  > From: address@hidden [mailto:address@hidden
>  > Sent: 07 March 2001 10:04
>  > To: address@hidden
>  > Cc: address@hidden
>  > Subject: RE: Unable to connect to CVS: to Concurrent Versions System
>  > (CVS)
>  > 
>  > 
>  > Hi All,
>  > 
>  > Could any one please help me out in knowing as to why I get 
>  > an error message
>  > 
>  > 
>  > cvs server: cannot open /root/.cvsignore: Permission denied
>  Try changing your inetd.conf entry for cvspserver so that the cvs command
>  reads something like (all on one line however):
>  cvspserver      stream tcp nowait root /mware/cvs/bin/cvs cvs -f
>  --allow-root=/path_to_cvsroot pserver
>  This will stop cvs pserver from trying to look at the files in the user's
>  home directory under which it runs (which is root before is changes to the
>  logged in user).

Our experience running CVS on various RedHat installations (6.1, 6.2,
and 7.0) using CVS versions 1.10.7 and 1.11, is that using the -f flag
is not always adequate; we had to use "env" on some CVS server systems
to get things to work; for example:

cvspserver stream tcp nowait root /usr/bin/env env -i /mware/cvs/bin/cvs -f \
         --allow-root=/path_to_cvsroot pserver

[ you might also want to change "nowait" to "nowait.400" or something similar,
to increase the number of transactions inetd will allow per minute ]

Once you get past this hurdle, you may also run across another problem if
your users don't have home directories on your server machine.  In this case,
you could get an error message like the following:

cvs [server aborted]: can't chdir(<user's home directory>): No such file of 

Some exploration shows that this occurs while CVS is trying to write to
the CVSROOT/history file.  This is all discussed here:

and other places in the archive.  We applied the patch to history.c
mentioned in the above reference with great success.

>  > 
>  > while I am import Module/checkout Module from WINCVS 1.2 (Win NT 4.0
>  > platform) to CVSROOT repository(cvs 1.11) on linux platform.
>  > 
>  > Note: I checked out the whole of the cvs server directories 
>  > but I was unable
>  > to find .cvsignore file.
>  There can be one called cvsignore in the CVSROOT module (without the .
>  prefix) and you can have one in your home directory called .cvsignore and
>  also in each sub-directory of each module for specific ignores for a given
>  directory.
>  Regards
>  John.
>  [ ... ]

-- Dave Strauss

reply via email to

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