Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261806AbTKMQaF (ORCPT ); Thu, 13 Nov 2003 11:30:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264343AbTKMQaF (ORCPT ); Thu, 13 Nov 2003 11:30:05 -0500 Received: from ipcop.bitmover.com ([192.132.92.15]:11660 "EHLO work.bitmover.com") by vger.kernel.org with ESMTP id S261806AbTKMQaB (ORCPT ); Thu, 13 Nov 2003 11:30:01 -0500 Date: Thu, 13 Nov 2003 08:29:45 -0800 From: Larry McVoy To: Andreas Schwab Cc: Andrea Arcangeli , Benoit Poulot-Cazajous , Nick Piggin , Davide Libenzi , walt , linux-kernel@vger.kernel.org Subject: Re: kernel.bkbits.net off the air Message-ID: <20031113162945.GB2462@work.bitmover.com> Mail-Followup-To: Larry McVoy , Andreas Schwab , Andrea Arcangeli , Benoit Poulot-Cazajous , Nick Piggin , Davide Libenzi , walt , linux-kernel@vger.kernel.org References: <3FB091C0.9050009@cyberone.com.au> <20031111150417.GF1649@x30.random> <03Nov13.095622cet.122129@mojo.it.advantest.de> <20031113145301.GJ1649@x30.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1737 Lines: 35 On Thu, Nov 13, 2003 at 04:23:24PM +0100, Andreas Schwab wrote: > Andrea Arcangeli writes: > > > On Wed, Nov 12, 2003 at 10:35:22PM +0100, Benoit Poulot-Cazajous wrote: > >> Andrea Arcangeli writes: > >> > >> > the usual problem, and the reason we need a sequence number (increased > >> > before and after the repo update). A file lock not. > >> > >> Or a file that contains md5sums of the other files in the tree. > >> After the rsync, you recompute the md5sums file, and if it does not match, > >> rsync again. As a bonus feature, the md5sums file can be pgp-signed. > > > > agreed, this would work too and it has the advantage of working with the > > mirrors too as far as the per-file updates are atomic (should always be > > the case). This has the only disavanage of forcing the client and the > > server to read all file contents (I normally don't rsync with -c). > > This is not necessary, you only need to recompute the md5sums of changed > files. If we had this approach we wouldn't have caught the torjan horse in the CVS tree. We checksum all the data, changed or not. Your approach pushes that duty onto the end users, and let's have a show of hands, how many of you md5sum every bit of data that you download from the net? (Please don't reply to that, it's a rhetorical question and I think the vast majority of the people already know the answer.) -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/