|
From: | Vincent Caron |
Subject: | Re: [Savannah-hackers] Re: Problem with CVS commit_prep? |
Date: | Thu, 27 Nov 2003 17:03:57 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2 |
address@hidden:~/src/www-gss$ cvs commit cvs commit: Examining . cvs commit: Examining manual cvs commit: Examining manual/html_node cvs commit: Examining releases Cannot open /var/run/log_accum/#webcvs.lastdir.27272 (Permission denied), stopped at /usr/local/bin/commit_prep line 82, <ENTRIES> line 20. cvs server: Pre-commit check failed cvs [server aborted]: correct above errors first! cvs commit: saving log message in /tmp/cvsspefvz address@hidden:~/src/www-gss$
It's not clear to me. There's no file access on line 82 of this script !My guess is that this script is victim of its dirtiness : it forgets a bunch of temp files behind, and PIDs wrap around 32768 quite fast on subversions. For instance this #webcvs.lastdir.27272 belongs to 'loic' (not 'jas'), and the only way it can happen is that it's a stale file from a previous commit using this PID.
$ cd /var/run/log_accum $ ls|wc -l 16566 $ find . -not -atime 1|wc -l 16333In other words, 16,300+ files are more than 24h old. I'll see if I can fix this in commit_prep, otherwise I'll had a sweeper function in the nurse_cvs script.
[Prev in Thread] | Current Thread | [Next in Thread] |