From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59977 invoked by alias); 5 Oct 2019 07:36:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 59753 invoked by uid 89); 5 Oct 2019 07:36:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-12.9 required=5.0 tests=AWL,BAYES_00,KAM_LOTSOFHASH,SPF_PASS autolearn=no version=3.3.1 spammy=gdbadmin, HX-Languages-Length:1313, 021019, site X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 05 Oct 2019 07:36:55 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B111AB144; Sat, 5 Oct 2019 07:36:53 +0000 (UTC) Subject: Re: md5.sum contains outdated checksum for sha512.sum From: Tom de Vries To: "gdb-patches@sourceware.org" Cc: Joel Brobecker References: <789f21e3-f00a-afc7-924c-f89686947c45@suse.de> Openpgp: preference=signencrypt Message-ID: Date: Sat, 05 Oct 2019 07:36:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <789f21e3-f00a-afc7-924c-f89686947c45@suse.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00170.txt.bz2 On 02-10-19 16:53, Tom de Vries wrote: > Hi, > > I noticed these files: > ... > https://sourceware.org/ftp/gdb/releases/md5.sum > https://sourceware.org/ftp/gdb/releases/sha512.sum > ... > > and the fact that they have each other in the checksum list: > ... > $ grep sum *.sum > md5.sum:d302bd90c757261f7a869a7a933ae096 sha512.sum > sha512.sum:302d3ee680099da76381af62dc8326bc73bd0f72e31733611458213b582fba4f7596b8892676a530dbd95f4fe2257b3f487048ed0815cceefb81c199a8a92662 > md5.sum > ... > > Only one matches: > ... > $ md5sum sha512.sum > cbf4a5e7311db1d101038a3411a2cf9b sha512.sum > $ sha512sum md5.sum > 302d3ee680099da76381af62dc8326bc73bd0f72e31733611458213b582fba4f7596b8892676a530dbd95f4fe2257b3f487048ed0815cceefb81c199a8a92662 > md5.sum > ... > > So, AFAICT, md5.sum contains an outdated checksum for sha512.sum (and > AFAIU, as long as the files reference each other, that will be the case). Using shell access, I found that sha512.sum is generated by root (so I guess that's some site automation): ... $ ls -la *sum -rw-rw-r--. 1 gdbadmin gdb 3386 jun 4 2017 md5.sum -rw-r--r--. 1 root gdb 11715 sep 20 22:44 sha512.sum ... So, we should exclude sha512.sum from md5.sum. But sofar, I was not able to find how this is generated. Thanks, - Tom