Talk:HOWTO CVS Server
From Gentoo Linux Wiki
I get the following error from Eclipse:
The server reported an error while performing the "cvs checkout" command. : cvs checkout: failed to create lock directory for `/var/lib/cvsd/root/regnskap' (/var/lib/cvsd/root/regnskap/#cvs.lock): Permission denied : cvs checkout: failed to obtain dir lock in repository `/var/lib/cvsd/root/regnskap' : cvs [checkout aborted]: read lock failed - giving up
Any ideas? --129.241.125.181 17:46, 22 Jan 2005 (GMT)
You need to check the permissions. You use a certain user name with pserver - and this user has not enough rights, therfore the error message 'failed to create lock directory for `/var/lib/cvsd/root/regnskap' (/var/lib/cvsd/root/regnskap/#cvs.lock): Permission denied'.
Contents |
[edit] Connection Reset
I followed this guide and I keep getting a "Connection Reset by Peer" everytime I try to login. (I'm loggin in from a separate machine.) Any help with this one? (Here's the actual error - cvs [login aborted]: reading from server: Connection reset by peer) Dark Ninja 00:54, 26 Mar 2005 (GMT)
[edit] What about existing repository?
I have a CVS repository tree that I've been using under various Linux distributions over time. I would like to import all these with dates, tags, comments, etc. How do you do that with cvsd? It should be described in the HOWTO.
[edit] Use gpasswd instead of usermod
Instead of using usermod -G, why not just use gpasswd(1)?
Simply invoke as:
$ gpasswd -a user group
to add an existing user to another group.
--Pioto 01:11, 3 November 2005 (GMT)
[edit] Error: No such repository
I am getting an error when doing "cvs login". The output is:
Logging in to :pserver:gummi@localhost:2401/var/lib/cvs/root
CVS password:
cvs [login aborted]: unrecognized auth response from localhost: cvs [pserver aborted]: /var/lib/cvs/root: no such repository
I have tried variations on the CVSROOT env variable:
/root
/var/lib/cvs
/var/lib/cvs/root
/var/lib/cvs/root/CVSROOT
-- Gummi Is there any solution for this error even iam facing same error pls i would appreciate the solution higly. Email id pawar.yuvraj@gmail.com
[edit] server flag is REQUIRED !!
you have to build cvs with 'server' flag:
USE="server" emerge cvs
otherwise it won't work (first error will be visible only during login: "unrecognized option --allow-root=" )
if you recompile CVS remember to run 'cvsd-buildroot /var/lib/cvsd' again
bbkr
[edit] Jailroot has no bash
I think it is necessary to note that there might be problems when using cvs automation with CVSROOT loginfo etc., because there is no shell in the jailroot.
This is especially connected to a hard to track "cvs [commit aborted]: received broken pipe signal" error.
chroot /var/lib/cvsd might be useful to check the configuration.
[edit] Function not implemented!
When trying to create a module, I'm getting the following error:
cvs [import aborted]: could not get working directory: Function not implemented
I've tried as root, I've tried remotely, nothing appears to work.
I got the same error when doing a checkout. When reverting to ssh everything works.
--More Information--
There is a bug about this in gentoo bugzilla: bug #130346. They say that glibc-2.5 *may* solve issue but I have not tested it yet. Besides there is a patch as a workarround.
I have tested glibc-2.5 and *does not* solve the issue...
I tried the patch on an amd64 box - works for me (note: it has to be applied to the cvs client of the machine where the cvsd is running - and cvsd-buildroot has to be called again so the new cvs binary gets copied into the repository. I missed out on both of these points first... )
