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

RE: More CVS Woes



I think the AFS fix to cvs may really be the trouble.
I have built a cvs-1.9 with AFSCVS defined and it appears to
work OK.
You can try it (carefully) on starsu00 if you
add ~olson/bin.SunOS to your path.  If this seems to
work OK I'll look into getting it installed properly.

Doug


> -----Original Message-----
> From: Shigeki Misawa [mailto:misawa@bnl.gov]
> Sent: Thursday, August 06, 1998 5:33 PM
> To: dlolson@lbl.gov
> Cc: gcdev@sseos.lbl.gov
> Subject: RE: More CVS Woes
>
>
>
> Is this related to the following 1995 CVS FAQ entry ?
>
>
>  4H.7   I use AFS.  Is there anything I need to know?
>
>         There is a problem with the way CVS performs its locking when the
>         files are within AFS. When your current PTS id != your uid, the
>         locks are not deleted.  The stat() system call returns the PTS id
>         of the owner. If that id != your uid, CVS assumes you did not lock
>         it, and leaves the lock files alone.  The next time you try to use
>         it, it complains that someone has the repository locked.
>
>                                 Contributed by Michael Ganzberger
>
>         [[This was against CVS 1.3.  Is it still in CVS 1.4?]]
>
>
> Doug Olson writes:
>  > I just did a chmod +w on the history file (???) and I got past the
>  > >   cvs export: Sorry, you don't have read/write access to the
> history file
>  > message, but then I was waiting for your (2762) locks.
>  > Maybe it works for you now.
>  >
>  > When last at BNL I asked some people about this cvs lock problem
>  > and was told they had the problem too and kept a script
>  > to manually remove the locks.
>  > If this continues we should probably move the GC cvs development
>  > repository to starsu00 local disk.
>  >
>  > Doug
>  >
>  > > -----Original Message-----
>  > > From: David M. Malon [mailto:malon@anl.gov]
>  > > Sent: Wednesday, July 22, 1998 2:06 PM
>  > > To: gcdev@sseos.lbl.gov
>  > > Subject: More CVS Woes
>  > >
>  > >
>  > > Does anyone know why I cannot check things out of CVS at
> RHIC?  I have
>  > > succeeded in the past.
>  > >
>  > >   starsu00 108% cvs export QE
>  > >   cvs export: Sorry, you don't have read/write access to the
> history file
>  > >   cvs [export aborted]: /afs/rhic/gc/cvs/CVSROOT/history:
>  > > Permission denied
>  > >   starsu00 109% tokens
>  > >
>  > >   Tokens held by the Cache Manager:
>  > >
>  > >   User's (AFS ID 2762) tokens for afs@rhic [Expires Jul 23 15:26]
>  > >      --End of list--
>  > >   starsu00 110% which cvs
>  > >   /opt/rhic/bin/cvs
>  > >   starsu00 111% echo $CVSROOT
>  > >   /afs/rhic/gc/cvs
>  > >
>  > > I seem to have continual problems with CVS; usually, it's with locks.
>  > >
>  > > Thanks for any insights.
>  > >
>  > > David
>  > >
>  >
>