All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: Colin Watson <cjwatson@debian.org>
Cc: Glenn Washburn <development@efficientek.com>,
	The development of GNU GRUB <grub-devel@gnu.org>,
	mchang@suse.com, Marco A Benatto <mbenatto@redhat.com>,
	Javier Martinez Canillas <javierm@redhat.com>
Subject: Re: [PATCH v2] i386-pc: build verifiers API as module
Date: Tue, 23 Mar 2021 17:33:12 +0100	[thread overview]
Message-ID: <20210323163312.xmhzcsxfqovgm27y@tomti.i.net-space.pl> (raw)
In-Reply-To: <20210322204527.GO26923@riva.ucam.org>

On Mon, Mar 22, 2021 at 08:45:27PM +0000, Colin Watson wrote:
> On Mon, Mar 22, 2021 at 03:19:06PM -0500, Glenn Washburn wrote:
> > On Mon, 22 Mar 2021 16:16:26 +0000
> > Colin Watson <cjwatson@debian.org> wrote:
> > > On Mon, Mar 22, 2021 at 04:20:00PM +0100, Daniel Kiper wrote:
> > > > NAK for this patch and others "fixing" small MBR gaps. I am not
> > > > going to deal with this kind of issues any longer because a few
> > > > folks in the world cannot/do not want/... reinstall their systems.
> > > > Sorry guys.
> > >
> > > I'd just like to say that I think this is an unfortunate mistake, and
> > > puts distributions in an invidious position.
> >
> > Forgive my ignorance, this seems like a fairly simple patch. While I
> > personally do not like maintaining patches just solely for myself, my
> > understanding is that distros are quite accustomed to carrying patches
> > for very long periods of time (indefinitely?). Is part of the push back
> > because its onerous for distro/package maintainers? Or is this more a
> > coming from a matter of principal?

First of all, I am not going to make anybody lives more difficult just
for the sake of making it more difficult. However, I want to make my
life as a maintainer easier.

> We certainly can and do carry our own patches, but it's pretty
> unsatisfying when the reasons for rejecting them upstream don't actually
> make sense (as for "buffer: Sync up out-of-range error message" and
> "kern/dl: Disable grub_dl_unload_unneeded").  In the last couple of

OK, I was imprecise. Sorry about that. In general I am OK with the
patches which are beneficial not only for the i386-pc (I will take
closer look at above mentioned patches shortly). Though I am against
introducing piles of ifdefery, especially into security critical stuff,
to make GRUB i386-pc work with small MBR gaps. Or move code around and
make it ugly just for the same thing.

> rounds of security megapatches we've also seen that the amount of
> divergence between upstream and various distributions in
> security-critical code is in fact a serious problem that needs to be
> addressed, and so I'm not happy about adding more to it for things that
> touch e.g. the verifiers framework - obviously a security-critical
> component.
>
> However, we probably won't have any choice.  Bugs of the form "I
> couldn't upgrade without reinstalling my entire system" are quite likely
> to be considered critical by any distribution worth its salt, regardless

How long are you going to support such systems? 1, 5 or 10 years? This
approach makes GRUB upstream as a hostage of small MBR gaps users.
Anyway, I think we have to make users aware that small MBR gaps are not
supported any longer. Otherwise we will be playing whack-a-mole game
which we will loose sooner or later.

> of whether upstream cares about them, and so this is likely to be just
> another way in which in practice distributions end up diverging from
> upstream.  I think that's worth at least a bit of pushback.

Again, believe me, this is not my goal...

Daniel


  reply	other threads:[~2021-03-23 16:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 11:30 [PATCH v2] i386-pc: build verifiers API as module Michael Chang
2021-03-22 15:20 ` Daniel Kiper
2021-03-22 16:16   ` Colin Watson
2021-03-22 20:09     ` Colin Watson
2021-03-22 20:19     ` Glenn Washburn
2021-03-22 20:45       ` Colin Watson
2021-03-23 16:33         ` Daniel Kiper [this message]
2021-03-23 17:45           ` Lennart Sorensen
2021-03-24  4:44           ` Michael Chang
2021-03-26 17:01             ` Daniel Kiper
2021-04-12 13:15               ` Daniel Kiper
2021-04-13  4:13                 ` Michael Chang
2021-04-14 13:22                   ` Daniel Kiper
2021-04-16 21:23                     ` Colin Watson
2021-04-20  3:49                     ` Michael Chang
2021-04-28 13:45                       ` Daniel Kiper
2021-03-22 21:43       ` James Bottomley
2021-03-23  4:16   ` Michael Chang
2021-03-23 11:37     ` Javier Martinez Canillas
2021-03-23 13:27       ` Colin Watson
2021-03-23 14:26         ` Javier Martinez Canillas
2021-03-23 17:26         ` Daniel Kiper
2021-03-23 16:48     ` Daniel Kiper
2021-03-24  3:50       ` Michael Chang
2021-03-26 17:22         ` Daniel Kiper
2021-08-22 19:50 Michael Schierl
2021-08-22 20:23 ` Didier Spaier

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=20210323163312.xmhzcsxfqovgm27y@tomti.i.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=cjwatson@debian.org \
    --cc=development@efficientek.com \
    --cc=grub-devel@gnu.org \
    --cc=javierm@redhat.com \
    --cc=mbenatto@redhat.com \
    --cc=mchang@suse.com \
    /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.