[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing CVS repository name
From: |
Mark D. Baushke |
Subject: |
Re: Changing CVS repository name |
Date: |
Wed, 29 Oct 2003 02:05:20 -0800 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lars Thuring <address@hidden> writes:
> we want to use a new directory for our repository. It is currently
> residing in
>
> /data/cvsroot
>
> and using Red Hat 7.2. That repository is working correctly. It is a NFS
> mounted directory.
You do know that NFS is usually a bad idea for a repository right?
> The steps we take are
>
> 1) Rename the above to
>
> /data/cvsroot_old
>
> 2) Create a new dir called
>
> /data/cvsrep
>
> 3) Execute
>
> cvs -data /data/cvsrep init
Typo? Should be:
cvs -d /data/cvsrep init
>
> 4) Copy the passwd file from the previous repository.
Where did you copy it to? /data/cvsrep/CVSROOT/passwd ?
> 5) We change the file /etc/xinet.d/cvspserver to point at the new location.
>
> 6) We change access rights, mainly to 775. Set the owner and group to
> "cvs" which is also the user defined in /data/cvsrep/CVSROOT/passwd.
> This is the same passwd file as in the previous repository.
>
> 7) Restarting
>
> /etc/init.d/network restart
> /etc/init.d/xinetd restart
>
>
> Needless to say this doesn't work when we try to access the fresh
> repository... regardless of what we do we get
>
> address@hidden lth]$ cvs login
> Logging in to :pserver:address@hidden:2401/data/cvsrep
> CVS password:
> /data/cvsrep: no such repository
>
>
> This error message comes regardless of if we fake a user, use the
> correct values and so on.
>
> We suspected there was some config file which links directly to
> /data/cvsroot, but a grep on the whole harddisk revealed nothing.
>
> There is nothing in ~/.cvsrc on the client machines.
>
> So now we are feeling rather lost (read stupid) having googled and
> how-to'ed through anything we can think of - where is the problem?
>
>
>
> Thanks in advance,
> lars
You might consider looking at the output of:
diff -r /data/cvsrep/CVSROOT /data/cvsroot_old/CVSROOT
to see if anything else is different.
Good luck,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQE/n5Dg3x41pRYZE/gRAqURAJ9jadtJ4t/mt9eUOm51ezg2UoDImQCgp38e
Ij6k2xEXxkdIal0Hf6L7wsk=
=y7Cc
-----END PGP SIGNATURE-----
- Changing CVS repository name, Lars Thuring, 2003/10/29
- Re: Changing CVS repository name,
Mark D. Baushke <=
- Re: Changing CVS repository name, Larry Jones, 2003/10/29
- Re: Changing CVS repository name, Lars Thuring, 2003/10/29
- Re: Changing CVS repository name, Derek Robert Price, 2003/10/29
- Re: Changing CVS repository name, Lars Thuring, 2003/10/30
- Re: Changing CVS repository name, Derek Robert Price, 2003/10/30
- Re: Changing CVS repository name, Lars Thuring, 2003/10/30
- Re: Changing CVS repository name, Lars Thuring, 2003/10/30
- Re: Changing CVS repository name, Larry Jones, 2003/10/30