From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28032 invoked by alias); 24 Sep 2007 13:04:16 -0000 Received: (qmail 27994 invoked by uid 22791); 24 Sep 2007 13:04:08 -0000 X-Spam-Check-By: sourceware.org Received: from mx.meyering.net (HELO mx.meyering.net) (82.230.74.64) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Sep 2007 13:04:04 +0000 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 4EB71382A8; Mon, 24 Sep 2007 15:04:00 +0200 (CEST) From: Jim Meyering To: Dave Wysochanski Cc: overseers@sourceware.org Cc: "Alasdair G. Kergon" Subject: Re: Upstream cvs repository corruption? In-Reply-To: <1190637220.4431.2.camel@linux-cxyg> (Dave Wysochanski's message of "Mon, 24 Sep 2007 08:33:40 -0400") References: <1190637220.4431.2.camel@linux-cxyg> Date: Mon, 24 Sep 2007 13:04:00 -0000 Message-ID: <87r6kow6yn.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00104.txt.bz2 Dave Wysochanski wrote: > Is the upstream CVS repository corrupted? > > cvs checkout: Updating LVM2/test > U LVM2/test/.gitignore > U LVM2/test/Makefile.in > cvs [checkout aborted]: head attribute does not match file for > `/cvs/lvm2/LVM2/test/lvm-utils.sh,v' Hi Dave, I see the problem, and think I see how it happened, too. The trouble is that the /cvs/lvm2/LVM2/test/CVS/fileattr file (which normally records stuff about each file in its dir) is out of sync. When you look at the permissions on the containing directory, you see why: sourceware$ pwd /cvs/lvm2/LVM2/test sourceware$ ls -ld CVS drwxrwxr-x 2 meyering automake 4096 Sep 18 14:00 CVS/ The "group" should be "lvm", not automake. Trouble is that I'm a member of both, and automake is my default group, because I contributed to that project long before I was added to the lvm group. For now, I've just remove the hosed "fileattr" file and corrected the permissions on the offending directory. That's enough so that your checkout will now succeed. The longer term fix is to make the group owner sticky (chmod g+s) in all CVS trees, so that all added directories get the proper group. FYI, this happened to "test/" because I just added that directory to lvm. Would someone with root access please run the following to fix lvm2? chgrp -R lvm /cvs/lvm2/LVM2 chmod -R g+s /cvs/lvm2/LVM2 I nearly Cc'd Frank about this (to thank him for helping to set up git recently :-), but thought better of it, and am Cc'ing overseers, instead. Of course, the real solution is to switch to git, but lvm will have to wait a few weeks for that ;-) Jim