Stupid me, I had the inetd.conf line wrong.

Anyway, "cvs login" works fine now, but when I try to do "cvs co CVSROOT" this
is what I get:
cvs server: cannot open /root/.cvsignore: Permission denied
cvs [server aborted]: can't chdir(/root): Permission denied

This is the line in /etc/inetd.conf:
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
--allow-root=/usr/home/nyap/.cvsroot-test pserver

And this are the lines in /etc/services:
cvspserver 2401/tcp
cvspserver 2401/udp

I've also tried changing the user field in /etc/inetd.conf to be me and using
the -T flag to set the temp directory to /tmp.  None of these changes
affects the output any.

Another thing I've tried was to explicitly create the $CVSROOT/CVSROOT/passwd
file.  When doing this, I'm able to "cvs login" fine, but when I
"cvs co -c" I get:
Fatal error, aborting.
4642: no such user
cvs checkout: authorization failed: server rh rejected access

My $CVSROOT/CVSROOT/passwd file looks like:
nyap:<crypted passwd>

Does CVS handle NIS passwd files properly?  Could NIS be causing both problems?

Thanks,
Noel




[EMAIL PROTECTED] on 06/03/2000 12:59:16 PM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]
Subject:  Re: trouble with pserver




Noel L Yap writes:
>
> I've setup pserver as described in the docs and tried "telnet hostname 2401".
> It appears that cvs does start, but in the end, I get "Connection closed by
> foreign host".

We really need exact details rather than "it appears" and "in the end".
My best guess based on what you've said is that inetd was unable to
start CVS for some reason -- look for error messages in syslog and
perhaps try running inetd with debugging turned on.

-Larry Jones

Summer vacation started!  I can't be sick! -- Calvin





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.

Reply via email to