Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1827505ybl; Sat, 24 Aug 2019 05:16:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzP6uMBnpDbZG5vHEWgWUS7S76QyoR72vbuhFRYy87JzGKShYmbquphSDouV67wAode/DNW X-Received: by 2002:a63:d04e:: with SMTP id s14mr7594919pgi.189.1566648968242; Sat, 24 Aug 2019 05:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566648968; cv=none; d=google.com; s=arc-20160816; b=E31ChURps9hh8v6kSjUOws4cRvaWipuJ2biLL+Dyu+nJGIDZbdeqGXJ2TNj6LQrBMz oWqMp3jp3v8qsHF7ox3ZT6/ZQBYLtN3WlPS4Bb3SUXC/0iwCLFxY9SXMhyM3Jczcpgm5 ts8/7lo5UZuNXl/0y7IXfHOijuxp7v9mnLRGCqQg8gAuuGZnpYFM7mQho7Sq78uKMun9 JsxLahFHP64gcrJEWeEvob/qMd6XD69Yp0h8FZWyv5sSVp9dRLccnKv7HN3XMNo76GOA 1lKMOkFDMef2LpWfT2sonqeV7EEw4i+wiu+tXzavbKHPsbQul3oPCEBQmbP3s/2ThP5g Hykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nghJxqHEP7KDSW7mNxBPZB8PK95Q5BKWMh6WXrtwsfM=; b=R3OTO1XGGKkVIqrZQIx4Msd2/czODjjGH6MYJ6UNths/nUK5U+Rxio5KeqH9F5qK3J CqznblELFSxC43uc4JsqjgCCjrH/ykxk5NAHohpXaxqSxgPsCQUjDi4Au9a5amBLFViy oW7U/0KZw/BIynHar4YRTl0URVZotvXhXqzTXqKc7NPMQrjdej3Fis8Z9d7AM/jU3isG pvTdrqkzyTS+0ieAWj8cwyT57ufyH4htwZnD2XLnKuuurRasXdtKdWtGgPDYaNyOm6d8 nLU6oswSGiaDlHGBYHKiBnScEXCDn6iPJaur1lu8ZZf8FYeJz8pYbY3s9qIPz+tUs179 tFXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G18Ybb7k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si4128878pgp.435.2019.08.24.05.15.47; Sat, 24 Aug 2019 05:16:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G18Ybb7k; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728113AbfHXMOs (ORCPT + 99 others); Sat, 24 Aug 2019 08:14:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727779AbfHXMOs (ORCPT ); Sat, 24 Aug 2019 08:14:48 -0400 Received: from localhost (unknown [88.128.80.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 39ADC2146E; Sat, 24 Aug 2019 12:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566648886; bh=OvNjLf+NcTi1GfOpW/USA/QU+p92EDM61oihrL1V+cI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G18Ybb7k85lpu6cl84ms4TxJX4s8q/B0dxS+Vrj7LQ/+s7iYfkiRcw+oXHlQINkR4 ns8961EKkMKZMg0jv3o7ClYYVtvQPyTsVP9SparsJbKtZtW0JuTNo3HRGlb7edk+An CX/EMjNGRbSdx0kWOcQgI6HuYL18Z+0VF6cPuz5Y= Date: Sat, 24 Aug 2019 14:14:43 +0200 From: Greg KH To: Sasha Levin Cc: Stefan Lippers-Hollmann , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 5.2 000/135] 5.2.10-stable review Message-ID: <20190824121443.GA21592@kroah.com> References: <20190822170811.13303-1-sashal@kernel.org> <20190822172619.GA22458@kroah.com> <20190823000527.0ea91c6b@mir> <20190822233847.GB24034@kroah.com> <20190823024248.11e2dac3@mir> <20190823062853.GC1581@sasha-vm> <20190823173627.GA1040@kroah.com> <20190824011805.GH1581@sasha-vm> <20190824023258.GA9862@kroah.com> <20190824054835.GI1581@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190824054835.GI1581@sasha-vm> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 24, 2019 at 01:48:35AM -0400, Sasha Levin wrote: > On Fri, Aug 23, 2019 at 07:32:58PM -0700, Greg KH wrote: > > On Fri, Aug 23, 2019 at 09:18:05PM -0400, Sasha Levin wrote: > > > On Fri, Aug 23, 2019 at 10:36:27AM -0700, Greg KH wrote: > > > > On Fri, Aug 23, 2019 at 02:28:53AM -0400, Sasha Levin wrote: > > > > > On Fri, Aug 23, 2019 at 02:42:48AM +0200, Stefan Lippers-Hollmann wrote: > > > > > > Hi > > > > > > > > > > > > On 2019-08-22, Greg KH wrote: > > > > > > > On Fri, Aug 23, 2019 at 12:05:27AM +0200, Stefan Lippers-Hollmann wrote: > > > > > > > > On 2019-08-22, Greg KH wrote: > > > > > > > > > On Thu, Aug 22, 2019 at 01:05:56PM -0400, Sasha Levin wrote: > > > > > > [...] > > > > > > > > It might be down to kernel.org mirroring, but the patch file doesn't > > > > > > > > seem to be available yet (404), both in the wrong location listed > > > > > > > > above - and the expected one under > > > > > > > > > > > > > > > > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.2.10-rc1.gz > > > > > > [...] > > > > > > > Ah, no, it's not a mirroring problem, Sasha and I didn't know if anyone > > > > > > > was actually using the patch files anymore, so it was simpler to do a > > > > > > > release without them to see what happens. :) > > > > > > > > > > > > > > Do you rely on these, or can you use the -rc git tree or the quilt > > > > > > > series? If you do rely on them, we will work to fix this, it just > > > > > > > involves some scripting that we didn't get done this morning. > > > > > > > > > > > > "Rely" is a strong word, I can adapt if they're going away, but > > > > > > I've been using them so far, as in (slightly simplified): > > > > > > > > > > > > $ cd patches/upstream/ > > > > > > $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-5.2.9.xz > > > > > > $ xz -d patch-5.2.9.xz > > > > > > $ wget https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.2.10-rc1.gz > > > > > > $ gunzip patch-5.2.10-rc1.gz > > > > > > $ vim ../series > > > > > > $ quilt ... > > > > > > > > > > > > I can switch to importing the quilt queue with some sed magic (and I > > > > > > already do that, if interesting or just a larger amounts of patches are > > > > > > queuing up for more than a day or two), but using the -rc patches has > > > > > > been convenient in that semi-manual workflow, also to make sure to really > > > > > > get and test the formal -rc patch, rather than something inbetween. > > > > > > > > > > An easy way to generate a patch is to just use the git.kernel.org web > > > > > interface. A patch for 5.2.10-rc1 would be: > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/patch/?id=linux-5.2.y&id2=v5.2.9 > > > > > > > > > > Personally this patch upload story sounded to me like a pre-git era > > > > > artifact... > > > > > > > > Given that we no longer do patches for Linus's -rc releases for the past > > > > few years, maybe it is time to move to do the same for the stable > > > > releases to be consistent. > > > > > > Or tarballs? Why do we generate tarballs (and go through kup)? > > > git.kernel.org already does it for us. > > > > As I mentioned yesterday, but writing it down here for posterity, > > there's a number of reasons. > > > > First off, the release process doesn't require kup for when a "real" > > release happens, that's all now donw on git.kernel.org with a process > > involving a signed note and some other fun backend stuff. We are > > working on expanding that in the future with some other signature > > validation as well, to make it easier to verify tarballs are "correct" > > as what we do today is a bit different than other projects. > > I think that I made it read like I want to remove tarballs altogether. > That's not the case: I just want to get rid of the magical signed note > process. That "signed note process" is _way_ better than what we used to do. > The way I understand it, we generate tarballs twice: once during the > magical signed note process, and once by the git interface. I'm just > suggesting we reduce that down to happen once. How about we make it even better, we never generate it at all! That's how the "signed note" process works, the only thing that does the tarball generation is in the kernel.org infrastructure itself, when it receives a properly signed note. I never create it locally or anywhere else and we do not use 'kup' anymore for the process either. > Right now you can fetch tarballs from two different links on kernel.org. > For example, a 5.2.9 tarball is available at: > > - https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.2.9.tar.xz > - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-5.2.9.tar.gz > > Can't we symlink one to the other? Those are two different hosts/cdn/mirrors/etc. So no, I do not think we can at all without a bunch of work on the code that runs git.kernel.org. But I could be wrong, I don't know that side of the process all that much. I suggest you look at Konstantin's Kernel Recipes talk from a few years ago that describes how a release happens on the kernel.org side. The only change from his talk to what we do today is that I no longer do 'kup' at all, but instead kick it off with a signed git note. > > As for the tarball itself, it's still needed for the same reasons we do > > so on Linus's releases: > > - distros use these. Don't want all Gentoo users hammering on > > git.kernel.org for their updated builds, that's a huge waste. > > We can just place git.kernel.org generated tarballs (for some repos) on > the CDN, no? That's how it kind of happens already, but not quite, see the presentation above for all of the gory details. thanks, greg k-h