Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: cvs-plugin
-
Labels:None
-
Environment:CentOS 5.7, cvs-1.11.22-9.el5, cvs plugin version 2.0
-
Similar Issues:
Description
Since the update to the java cvs plugin, I can't do anonymous readonly cvs update anymore. It fails with this message:
cvs update: Updating .
cvs update: failed to create lock directory for `/var/cvs' (/var/cvs/#cvs.lock): Permission denied
cvs update: failed to obtain dir lock in repository `/var/cvs'
cvs [update aborted]: read lock failed - giving up
Note: Initial checkout after cleaning workspace works, only updates don't work.
The is also another problem which may be a side effect: I see hanging around cvs server processes which only terminate after jenkins is shut down.
We are running cvs pserver from xinetd like this: cvs -f --allow-root=/var/cvs pserver
CVSROOT is ":pserver:anonymous@cvs:/var/cvs"
Anonymous readonly updates have always worked with jenkins, as well es they do with Eclipse or Netbeans.
Did I miss something?
Regards,
Simon
Attachments
Issue Links
- depends on
-
JENKINS-12581 CVS: First CVS Update after Checkout reads whole CVS-Repository
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Major [ 3 ] | Blocker [ 1 ] |
Link |
This issue depends on |
Assignee | Michael Clarke [ mc1arke ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | current [ 10162 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Workflow | JNJira [ 142961 ] | JNJira + In-Review [ 190362 ] |
I'm not able to replicate this, and Googling similar error message shows it seems to be a permissions error. Can you check that the user 'anonymous' and the user Jenkins is running under have write permission to the directory specified in your error (i.e. /var/cvs)?