public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] Discontinuing LibreSSL support?
Date: Mon, 28 Dec 2020 20:55:48 +0100	[thread overview]
Message-ID: <6d3532293446f7c555f5cc4701b5016d16b6b726.camel@gentoo.org> (raw)
In-Reply-To: <500dc9f4-831d-8e92-ec57-fa38669d8e3f@gentoo.org>

On Mon, 2020-12-28 at 13:59 -0500, Anthony G. Basile wrote:
> On 12/28/20 3:56 AM, Michał Górny wrote:
> > Hello, developers and Gentoo LibreSSL team.
> > 
> > TL;DR: is there really a point in continuing the never-ending
> > always-
> > regressing struggle towards supporting LibreSSL in Gentoo?
> > 
> > 
> > I would like to discuss the possibility of discontinuing LibreSSL
> > support in Gentoo in favor of sticking with OpenSSL.  Similarly how
> > we
> > ended up deciding that fighting for libav was unpractical and the
> > vast
> > majority of users are using ffmpeg (because they didn't really have
> > a choice), today it seems that LibreSSL is suffering the same fate.
> > 
> > LibreSSL users, does LibreSSL today have any benefit over OpenSSL?
> > To be honest, I don't think so.  In 2014, it might have represented
> > a new quality.  But today, OpenSSL is alive and kicking, and
> > LibreSSL
> > finds it hard to keep up.
> > 
> > The vast majority of software is not tested against LibreSSL. 
> > While
> > patches are usually trivial and we have people that submit them,
> > I find many of them short-sighted.  Just look at [1].  Sure, it
> > fixes
> > the build today but it disabled the feature for all foreseeable
> > future.
> > How likely is it that somebody will submit another patch reenabling
> > it
> > with a future LibreSSL version?
> > 
> > While normally I strongly prefer submitting such patches upstream,
> > that
> > makes things even worse.  I mean, I wouldn't be surprised if there
> > were
> > dozens of packages today that are crippled with LibreSSL just
> > because
> > somebody fixed the build in the past and never revisited the
> > problem.
> > 
> > This somewhat resembles running in circles.  Packages kept being
> > broken
> > with LibreSSL because rarely anyone is using it.  And rarely anyone
> > is
> > using LibreSSL because the apparent benefit (or lack thereof) does
> > not
> > justify the constant breakage (plus invisible regressions).
> > 
> > All this considered, provided that nobody is able to find a good
> > reason
> > to use LibreSSL, I would like to propose that we stop patching
> > packages, discontinue support for it and last rite it.
> > 
> > 
> > [1] https://761981.bugs.gentoo.org/attachment.cgi?id=679892
> > 
> 
> I'm the current project lead.  I inherited it back in the day from
> hasufel.  It originally had promise of being better than openssl with
> 100% compatibility.  I hung on because I trusted that team but it has
> become more of a hassle than its worth.  I am in favor of removing
> it.
> If we decide to do so, how should we proceed?

I think the usual plan for this kind of thing is to:

1. Issue a news item with the planned cutoff date, and suggest people
that they can set USE=-libressl to switch earlier.

2. At the cutoff date, use.mask libressl flag.

3. package.mask libressl itself to give people a clear message.


I might be wrong but I think the update should proceed cleanly with
--changed-use/--newuse.  The PM will trigger the rebuilds,
and preserved-libs should take care of keeping libressl libs for
as long as necessary (yeah, I know relying on preserved-libs sucks).

The only problem that I can think of are packages that depend
on libressl specifically and do not support openssl.  I don't think we
have anything like that but I'll double check.

-- 
Best regards,
Michał Górny




  reply	other threads:[~2020-12-28 19:55 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28  8:56 [gentoo-dev] [RFC] Discontinuing LibreSSL support? Michał Górny
2020-12-28  9:01 ` [gentoo-dev] " David Seifert
2020-12-28  9:12 ` [gentoo-dev] " Agostino Sarubbo
2020-12-28 10:02 ` Hanno Böck
2020-12-29  9:36   ` Sam James
2020-12-28 18:59 ` Anthony G. Basile
2020-12-28 19:55   ` Michał Górny [this message]
2020-12-28 20:42     ` Toralf Förster
2020-12-29 12:25       ` Michał Górny
2020-12-29  5:33     ` David Haller
2020-12-29 12:27       ` Michał Górny
2020-12-29 13:03         ` Peter Stuge
2020-12-28 22:00 ` Peter Stuge
2020-12-28 22:26   ` m1027
2020-12-29 12:24     ` Michał Górny
2020-12-29 19:32       ` Paul B. Henson
2020-12-28 22:33   ` Michał Górny
2020-12-28 23:18     ` Peter Stuge
2020-12-29  9:39       ` Michał Górny
2020-12-29 11:07         ` Aaron Bauman
2020-12-29 11:29         ` Peter Stuge
2020-12-29 12:23           ` Michał Górny
2020-12-29 12:41             ` Toralf Förster
2020-12-29 13:02               ` Michał Górny
2020-12-29 12:45             ` Peter Stuge
2020-12-29 12:39           ` Jaco Kroon
2020-12-29 13:08             ` Michał Górny
2020-12-29 13:21               ` Peter Stuge
2020-12-29 13:33                 ` David Seifert
2020-12-29 13:42                   ` Alexey Sokolov
2020-12-29 13:51                   ` Peter Stuge
2020-12-29 15:02           ` Andreas K. Huettel
2020-12-29 19:46             ` Peter Stuge
2020-12-29 20:34               ` Matt Turner
2020-12-29 22:31                 ` Peter Stuge
2020-12-30 12:48               ` Andreas K. Huettel
2020-12-29  9:13     ` Marcel Schilling
2020-12-29  9:23       ` Sam James
2020-12-29 13:57         ` m1027
2020-12-29 14:12           ` Michał Górny
2020-12-29 15:12           ` Toralf Förster
2020-12-29 18:10             ` m1027
2020-12-29 18:18               ` Toralf Förster
2020-12-29 18:15             ` Michał Górny
2020-12-29 18:21               ` Toralf Förster
2020-12-30 10:41               ` m1027
2020-12-30 11:08                 ` Michał Górny
2020-12-29 19:02           ` John Helmert III
2020-12-29 11:36 ` Andrey Utkin
2020-12-29 19:49   ` Hanno Böck
2020-12-29 12:06 ` Mikle Kolyada
2020-12-29 14:02 ` Andreas K. Huettel
2020-12-29 22:00 ` Stefan Strogin
2020-12-29 22:31   ` Michał Górny
2020-12-29 22:41     ` Peter Stuge
2020-12-29 23:06       ` David Seifert
2020-12-29 23:34         ` Peter Stuge
2020-12-31 10:11           ` Thomas Mueller
2020-12-31 23:25           ` Patrick McLean
2020-12-30 14:57         ` Anthony G. Basile
2020-12-30  0:00       ` Michał Górny
2020-12-30  0:12         ` Peter Stuge
2020-12-30 14:48       ` Anthony G. Basile
2020-12-30  8:08     ` Marcel Schilling
2020-12-30  8:55       ` Michał Górny
2020-12-30 12:33 ` [gentoo-dev] [RFC] Recap: " Michał Górny
2020-12-30 15:02   ` Peter Stuge
2020-12-30 17:17     ` Michał Górny
2020-12-31  2:50       ` Peter Stuge
2020-12-31  3:15         ` Mike Gilbert
2020-12-31 11:46           ` Peter Stuge
2020-12-31 12:45             ` Jaco Kroon
2020-12-31 16:53               ` Peter Stuge
2020-12-31 20:49                 ` Alessandro Barbieri
2020-12-31 21:21                   ` [gentoo-dev] Static libraries Peter Stuge
2020-12-31  8:34         ` [gentoo-dev] [RFC] Recap: Discontinuing LibreSSL support? David Seifert
2020-12-31  9:05         ` Michał Górny

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=6d3532293446f7c555f5cc4701b5016d16b6b726.camel@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox