[Top][All Lists]

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

cvs problem

From: Ivan Jovanovic
Subject: cvs problem
Date: Mon, 30 Jun 2008 14:46:39 +0200

I have problem with cvs I will explain what I did, so if you see any errors, please correct me:
1. I unistall cvs and cvsd (apt-get remove --purge cvs (cvsd)
2. I have installed cvs and cvsd (apt get install cvs (cvsd)
3. when cvsd instalation ask me for cvs repository, I entered /cvs (second time I entered /mnt/sdc/cvs) - anyway, this variable  is defined under /etc/inetd.conf file under it can be changed
3. after that, cvsd-buildroot command.... sudo cvsd-buildroot /mnt/sdc/cvs and then create actual cvs directory: sudo mkdir /mnt/sdc/cvs
4. initialize directory: sudo cvs -d /mnt/sdc/cvs init
5. fix access rights: sudo chown -R cvsd:cvsd cvs and create one user with password: sudo cvsd-passwd /mnt/sdc/cvs +user
with cvspass password.
6. change (uncomment) auth type: sudo nano /mnt/sdc/cvs/CVSROOT/config -> uncomment SystemAuth=no line.
7.edit /etc/inetd.conf file:
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/mnt/sdc/cvs server          first part /user/bin/cvs - path to cvs
8. edit RootJail file inside /etc/cvsd/cvsd.conf:
by default, RootJail file points to /var/lib/cvsd directory, so I have commented that line and add new one: RootJail /mnt/sdc
as I said before, at the end of this file is Repos line ..and there I enetred: Repos /cvs - that variable is defined during installation of cvsd.
9.after that, I have restarted two processes:
sudo /etc/init.d/cvsd restart
sudo /etc/init.d/inetd restart

now, the problem:
when I try to login on local server, with: cvs -d :pserver:address@hidden:/cvs login
after entering password, I receive error:/cvs: no such repository
however, when I enter full path to cvs:
cvs -d :pserver:address@hidden:/mnt/sdc/cvs login
enter password
everything works fine.
Same thing using TortoiseCVS...just /cvs for Repository Folder won`t work, but, full path work.
Have any idea what is going on??

reply via email to

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