> I am trying to setup my Gentoo box as a cvs server so that I have a
> central repository for my code since I have multiple machines I test it
> on (mainly FreeBSD).  I emerge'd cvs and xinetd, and setup the
> repository as the cvs docs say.  I created the cvs user and cvs group.
>
> My /etc/xinetd.d/cvspserver contains:
>
> service cvspserver
> {
>          disable         = no
>          socket_type     = stream
>          wait            = no
>          user            = cvs
>          group           = cvs
>          log_type        = FILE /var/log/cvspserver
>          protocol        = tcp
>          env             = '$HOME=/home/cvsroot'
>          log_on_failure  += USERID
>          port            = 2401
>          server          = /usr/bin/cvs
>          server_args     = -f --allow-root=/home/cvsroot pserver
> }
>
> xinetd is started
> when I try to checkout the code from my FreeBSD box (with CVSROOT set to
> ":pserver:[EMAIL PROTECTED]:/home/cvsroot"), I get:
>
> cvs [checkout aborted]: reading from server: Connection reset by peer
>
> /var/log/cvspserver says:
>
> 03/12/[EMAIL PROTECTED]:34:47: START: cvspserver pid=22674 from=192.168.1.4
> 03/12/[EMAIL PROTECTED]:34:47: FAIL: cvspserver address from=192.168.1.4
>
> Not very informative...
>
> Anyone have any idea why it isn't working?
>
> Thanks,
> Aaron

Hi Aaron,

Did you check your /etc/xinetd.conf?  By default, it's setup with
"only_from = localhost" which overrides the settings for includes in
/etc/xinetd.d/*

-brian

--
[EMAIL PROTECTED] mailing list

Reply via email to