CVS cvs command exited with exit-status 1 -
i'm trying revive old project cvs server. this, have had pull cvs server data image backup , install cvs scratch.
when trying login cvs server, get:
pi$ export cvsroot=:pserver:ian@localhost:/data/cvs pi$ cvs login logging in :pserver:ian@localhost:2401/data/cvs cvs password: cvs [login aborted]: reading server: connection reset peer
checking syslog:
apr 7 05:03:14 raspberrypi cvsd[14833]: connection 127.0.0.1 55155 apr 7 05:03:14 raspberrypi cvsd[14833]: cvs command exited exit-status 1
i changed permissions on directories user , group (cvsd:cvsd) given in
/etc/cvsd/cvsd.conf
which contains:
pi$ cat /etc/cvsd/cvsd.conf | egrep -v "^#.*|^$" rootjail /var/lib/cvsd uid cvsd gid cvsd nice 1 umask 027 pidfile /var/run/cvsd.pid maxconnections 10 log syslog info listen * 2401 repos /data/cvs
the data under:
/data/cvs
the user , password correct given in file
/data/cvs/cvsroot/passwd
ideas?
eventually found answer. @ point after stopped using cvs regularly, server changed use rootjails default. config file
/etc/cvsd/cvsd.conf
was upgraded, , line
rootjail /var/lib/cvsd
was added configuration. means data path
/data/cvs
became relative rootjail.
quick fix. change
rootjail /var/lib/cvsd
to
rootjail none
(or move data), , restart cvs.
Comments
Post a Comment