> Hello,
> Thanks for looking at the problem I have tried added the line as you
> recommended but once I'd restarted inetd I was unable to login from
Wincvs,
> and got the following message:
> cvs login
> (Logging in to cvs@cvssrv)
> cvs [login aborted]: recv() from server cvssrv: Connection reset by peer
>
> *****CVS exited normally with code 1*****
> what is the unset HOME command meant to be doing?
> Cheers Steve

Hi Steve,

I'm not sure what is wrong, as I am pretty new to cvs. It's my experience
when this error occurs, that cvs terminates prematurely due to an error.
Possible causes could be a wrong path, a typo or a syntax error in the
inetd.conf line.

This is what I have in inetd.conf, I use wrappers as well:
cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/env   --unset
HOME=


/usr/bin/cvs --allow-root=/usr/local/cvs/development --allow-root=/usr/local
/cvs/solaris pserver


With respect to the unset question, this is what I got from Larry the other
day, I quote:
(...)
> [jesper@linux1 jesper]$ cvs checkout jesper
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs [server aborted]: can't chdir(/root): Permission denied

I assume you're running pserver.  You need to add a -f global option to
the cvs command in inetd.conf if it isn't there already, then you need
to unset $HOME that your inetd is helpfully setting (incorrectly!) for
you -- change inetd to use env to run cvs with a pristene environment or
run a shell script that unsets $HOME and then exec's cvs.

-Larry Jones
(...)

I hope this is of some help to you.
Cheers
/Jesp

______________________________________________
Jesper Markenstam <[EMAIL PROTECTED]>
10 Fenchurch Avenue, London EC3M 5BN, UK
Tel: 020 7665 5050 Fax: 020 7665 5060





>
> Steve wrote:
> > I have been having problems login to cvs using pserver I have now
> > changed the entry in inetd.conf to "cvspserver stream tcp nowait
> > root /usr/bin/cvs cvs --allow-root=/home/cvsroot pserver". This has
> > fixed part of the problem and I can now log in from our windows
> > terminal using WinCVS, however, when I try to check out a module I
> > get the following error:
> > cvs login
> > (Logging in to scowling@cvssrv)
> >
> > *****CVS exited normally with code 0*****
> >
> > cvs checkout Test2 (in directory C:\WORKAREA)
> > cvs server: cannot open /root/.cvsignore: Permission denied
> > cvs [server aborted]: can't chdir(/root): Permission denied
> >
> > *****CVS exited normally with code 1*****
> > Has any body seen this before, I done understand why cvs is looking
> > to /root for its files. I am running version 1.10.7
> > Cheers for your help
> > Steve Cowling
> >
>
>
> I had the same problem. It worked after adding '--unser HOME=  '  (equals
> space that is) to my inetd.conf cvspserver entry after advice from Larry a
> couple of days ago.
>
> So something like this may work:
> cvspserver stream tcp nowait root /usr/bin/env --unset HOME=
>  /usr/bin/cvs --allow-root=/home/cvsroot pserver
>
> Thanks
> /Jesp
>
> ______________________________________________
> Jesper Markenstam <[EMAIL PROTECTED]>
> 10 Fenchurch Avenue, London EC3M 5BN, UK
> Tel: 020 7665 5050 Fax: 020 7665 5060
>
>
>

Reply via email to