Setup info:
- Red Hat 6.1 Server
- cvs 1.10.6
- pserver authentication
- a CVSROOT/passwd with everyone mapped to the id, cvs
e.g. username:password-text:cvs
- CVSROOT is /home/rev_ctrl with the owner and group set for all
files and directories below there set to cvs.cvs
- cvs is started with a stanza in inetd.conf
We have two people occasionally doing maintenance to the CVSROOT
admin
files. Some time ago, we started having problems with the passwd
file (CVSROOT/modules seems to be fine). Or so it seems.
First, I'm not sure whether I should be remotely accessing the passwd
file to do maintenance. I'll admit that I have do this several times.
Regardless, I've tried updating it locally (Logged onto the server,
as
cvs, sans pserver) and am still encountering the problem.
I use the following process to edit passwd
- I checkout the CVSROOT module
- I edit CVSROOT/passwd
- I commit it
- I finish with a cvs release -d
CVS seems to have all the updates in the passwd,v file, but it
refuses
to update the CVSROOT/passwd. A cvs update or cvs status in the
working directory has the right info, but the actual copy in CVSROOT
never gets updated.
It is possible that the states (locking or strict locking?) of the
passwd and passwd,v are inconsistent. Is it a permissions problem?
Also, I am wondering whether there may be a problem with attempting
to
commit the passwd file remotely via pserver? (Possibly a race
condition or conflict because cvs may already have the file open, as
it is attempting to perform the update?)
Any help would be appreciated.
Regards,
Chris