All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Amit Shah <amit@infradead.org>, Jan Beulich <JBeulich@suse.com>,
	"George Dunlap" <george.dunlap@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] Design session report: Xen on Distros
Date: Tue, 16 Jul 2019 23:03:06 +0100	[thread overview]
Message-ID: <21c9d3d4-831b-d8cd-5d81-3ce18b9f907e@citrix.com> (raw)
In-Reply-To: <76439de5430365dda0b83694444e59fa9cfdd3d0.camel@infradead.org>

On 15/07/2019 18:52, Amit Shah wrote:
> On Mon, 2019-07-15 at 14:52 +0000, Jan Beulich wrote:
>> On 15.07.2019 16:42, George Dunlap wrote:
>>> On 7/15/19 3:23 PM, Jan Beulich wrote:
>>>> On 15.07.2019 16:11, George Dunlap wrote:
>>>>> There was a long discussion about security patches, with the
>>>>> general
>>>>> proposal being that we should cut a point release for every
>>>>> security issue.
>>>> Interesting. Looks like in politics that until a decision fits
>>>> people
>>>> they keep re-raising the point. Iirc on a prior meeting
>>>> (Budapest?)
>>>> we had settled on continuing with the current scheme. Were there
>>>> any
>>>> new arguments towards this alternative model?
>>> Well I don't know if there were any new arguments because I don't
>>> immediately remember the old discussion.  Do we have a summary of
>>> the
>>> discussion in Budapest, with its conclusions, anywhere?
>> I don't recall if suitable notes were taken back then; as indicated
>> I'm not even sure which meeting it was at.
>>
>>> The basic idea was that:
>>>
>>> 1. Most distros / packagers are going to want to do an immediate
>>> release
>>> anyway.
>>>
>>> 2. Distros generally seemed to be rebasing on top of staging as
>>> soon as
>>> the XSA went out anyway (and ISTR this being the recommeneded
>>> course of
>>> action)
>>>
>>> So for all intents and purposes, we have something which is, in
>>> fact, a
>>> release; all it's missing is a signed tag and a tarball.
>>>
>>> Obviously there are testing implications that would need to be
>>> sorted
>>> out before this could become a reality.
>>>
>>> In any case, the ball is in the court of "VOLUNTEER" to write up a
>>> concrete proposal which could be discussed.  You'll be able to
>>> raise all
>>> your concerns at that point if you want (although having a sketch
>>> would
>>> of course be helpful for whoever is writing such a proposal).
>> Sure - I realized soon after having sent the initial reply that
>> perhaps
>> this was the wrong context in the first place to raise my question.
> In any case, I'd like to know why it doesn't make sense for Xen to have
> a point release frequently, and not have a point release after an XSA
> above some severity level (pick one - high/critical/important).

We specifically do not rate XSAs like that.  One persons apple is a
different persons orange, considering how varied the environments which
Xen runs in are.

If in doubt, people should take all the XSA fixes.

> As George mentioned, distros have to do it anyway, and the upstream
> project not doing it only makes it more difficult for all distros
> involved.
>
> Not sure of the politics involved though, and what can of worms this
> opens.

Its a perfectly valid discussion to have, and comes down (in large part)
to the overhead of doing releases, which comes largely from other areas
of our infrastructure which are currently under question.

A full point release includes tagging a load of repos (2x qemu, seabios,
ovmf iirc), then waiting for generally 2-3 weeks for OSSTest to
stabilise enough to declare the patches good, even for ones which were
tested (elsewhere) to various downstream's satisfaction during the
embargo period.

We could trivially throw the fixes into the branch, tag it, sign it and
throw it out into the open, but doing that on the embargo date itself
would result in an official release of Xen which has had 0 testing in
the incumbent test system.

One aspect which would ease things is to not include 3rd party packages
in releases.  This was discussed as part of the build system gripes
session iirc, and would reduce the number of in-flight moving parts to
just xen.git.

Another aspect is that of the test system.  At the moment, nothing can
be released on the older security branches, because they still haven't
recovered from the carnage of the Debian upgrade.  Irrespective of that
particular issue, the general delay between patches appearing and
OSSTest saying yes is a concerning factor in how much effort it takes to
get a release out.


What a number of people want is for the patches in an XSA advisory to
apply cleanly to whatever random thing they have in their local/distro
patch queue.  This is entirely impossible for the security to arrange,
and furthermore, we have exactly one location where the patches we
produce will be committed.

As a personal view here, I don't think blindly taking the latest
staging-$X.$Y is a viable substitute for at least understanding the
patches well enough to work around trivial offsets/fuzz due to minor
variations.

However, if the overhead of doing a micro release became substantially
less, and producing a micro release after every XSA would help a decent
chunk of our downstreams consume security fixes more easily, then it
would be worth considering.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-07-16 22:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 14:11 [Xen-devel] Design session report: Xen on Distros George Dunlap
2019-07-15 14:23 ` Jan Beulich
2019-07-15 14:42   ` George Dunlap
2019-07-15 14:46     ` George Dunlap
2019-07-15 14:52     ` Jan Beulich
2019-07-15 17:52       ` Amit Shah
2019-07-16 22:03         ` Andrew Cooper [this message]
2019-07-17 10:33           ` George Dunlap
2019-07-17 12:37             ` Jan Beulich
2019-07-17 16:52               ` Andrew Cooper
2019-07-17  9:48     ` Hans van Kranenburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21c9d3d4-831b-d8cd-5d81-3ce18b9f907e@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=amit@infradead.org \
    --cc=george.dunlap@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.