RedHat, profit and communication: a crisis for open source

RedHat, with a decision that caught many users off guard, has announced that from now on it will release source code only through the CentOS Stream repository, while the RHEL code will be available through the RedHat portal, reachable with a registered account. In this article we try to look at what this decision means for the whole open source community.

Intro

A small room, a light on and a window half open. It was September 1999, a long time ago, and a boy who loved science and technology was about to install his first Linux distribution. After many hours and many attempts, the words "kernel panic" appeared on the monitor. Unaware of what he was reading, and stubbornly determined to fix the problem, the boy didn't lose heart and kept trying and trying again, until a black screen appeared asking for a login. No graphical server, no internet access, lots of man pages to read. When the sun was high in the sky, his father found him still at the computer and asked: "have you had breakfast?"

Unintended emotional ties

In those first sleepless nights I learned one thing: being able to read the source code of a piece of software, to load or unload a kernel module, to create a symbolic link, to wander freely through the configuration files, change them and potentially wreck them by doing damage(!), was extraordinarily important. I was, in short, "learning things" thanks to open source, an idea that grew in the 1980s thanks to Richard Stallman's Free Software Foundation and that later gave birth to licences such as the GPL, MIT, Apache, MPL and so on. The Linux kernel, as it happens, was released precisely under the GPL, and that was a GNU/Linux distribution.

Almost immediately I developed a sort of emotional bond with RedHat. Partly because (maybe) you never forget your first love, partly because that terminal made me realise how ignorant I was. And I liked it a lot (masochism über alles).

RedHat Linux (aka RHL), together with Slackware, Debian and others, was one of the most popular distributions of those days. Its first stable version came out back in 1995 and it lasted until the end of 2003, the year of its last release, numbered 9.0.

At that point in the story, though, the first three characters we are going to follow stepped onto the stage. The first is called RedHat Enterprise Linux (aka RHEL), the second Fedora and the third (the leading character) CentOS.

RHEL, open source and profit

RedHat Enterprise Linux is a GNU/Linux distribution born in the 2000s and built mainly for business use. To use it in the long run (the developer programme, free up to 16 nodes, is another matter) a company has to buy a subscription which, from experience, I would not exactly call cheap. It is based on the open source code of Fedora, it has a product life cycle that is usually ten years, and it comes with a series of hardware and software certifications that can matter in a professional setting. A bit of history: RHEL was born after RedHat decided to offer a "premium" service to companies that needed IT support for Linux systems, and after (just a year earlier) its first listing on the stock exchange under the symbol RHAT. As they say: the accounts count.

To be fair, RHEL has always been extremely stable. Just to be clear, CERN in Geneva (not just anyone) uses RHEL to handle the data coming from the experiments run at the Large Hadron Collider. On top of that, packages such as Ansible, Cockpit, Satellite, OpenShift, Virtualization and others often give companies a reason to stay inside the expensive(!) RedHat ecosystem.

So, can you do business with open source? Yes, you can.

Upstream, downstream

To explain the idea of "upstream" and "downstream" I'll try an analogy. Imagine you are about to write a book. Your draft, full of corrections, checks, maybe notes too, we'll call upstream. The copy of the final version, perhaps with a different introduction or a different cover, we'll call downstream.

Fedora has traditionally been considered an upstream distribution of RHEL. This means Fedora is a development environment where new features are introduced and later integrated into RHEL. In the same way, CentOS Linux was a downstream distribution of RHEL: its goal was to provide a free version of RHEL, without the proprietary components, but keeping full binary compatibility. This meant CentOS kept the stability typical of RHEL, and every application developed primarily for RHEL could also run 1:1 on CentOS, without problems.

An act of rebellion (part 1/2)

The CentOS distribution was born in 2004 as an attempt, by a few developers including Gregory Kurtzer, to create a clone of RHEL that was available to everyone, stable and, above all, free of charge. This gave a competitive advantage to small companies and individual developers who, able to benefit from the stability of the RHEL code without hurting their finances, could offer services, build projects and develop fully compatible applications.

This was possible because all the RHEL source code, line by line, tarball by tarball, following a custom by then well established in the open source world, was publicly available for download.

CentOS was also a stable and secure system on the desktop, so many users began to use it as an rpm-based distro, even as an alternative to the upstream Fedora. The two teams began to interact and work together. And so, for years, RHEL remained confined to the rich companies that could afford a hefty and expensive subscription.

Around 2014, after statistics showed CentOS was one of the most used Linux distributions on servers, RedHat decided to support CentOS financially, with the aim of bringing together the work the two teams were doing separately. It looked like good news, and maybe it was, but not for long. CentOS became a project directly controlled by RedHat and about six years later, in the year of our Lord 2020, RedHat announced the death of CentOS in favour of a new project, upstream this time, called CentOS Stream. CentOS Stream was not a 1:1 clone of RHEL, and the last official support for CentOS 7 would end in 2024.

CentOS is dead, long live CentOS.

An act of rebellion (part 2/2)

The open source community, to put it mildly, did not take it well. Many linked the decision to close the project to a historic acquisition that had filled the newspapers just a year earlier. In 2019, in fact, IBM had acquired RedHat for 34 million billion dollars. Brian Exelbierd, who handled RedHat's liaison with the CentOS project, told The Register that CentOS Linux was ending simply because RedHat had refused to invest in it. As the saying goes, "business is business", but evidently not for everyone.

At this point in the story, when everything seems to be going wrong, as in a fairy tale with good guys and bad guys, the heroes come back on stage and reshuffle all the cards on the table. We have already met one of those heroes: his name is Gregory Kurtzer, one of the founders of CentOS. After RedHat's ill-fated decision, Kurtzer decided to create the Rocky Linux distribution, with the aim of starting again where CentOS had stopped: a 1:1 clone, fully compatible with RHEL and, above all, free of charge. And, adding insult to injury, Rocky published a script on GitHub to migrate every CentOS 8 server to Rocky automatically. Almost at the same time other projects, following the philosophy of free and open source software, were born with the same aim, the most popular of which was certainly AlmaLinux.

So CentOS was not dead after all, long live CentOS.

Two words on freedom

Before getting into the news itself, I ask you for a moment of patience so I can at least introduce the essential ideas of FOSS (Free and Open Source Software). Usually, when people talk about free software, they talk about the GPL licence, but this is sadly very reductive. There are many licences, and each distribution can adopt different ones. Rocky Linux itself adopts not the GPLv2 like RHEL but the BSD 3-Clause, AlmaLinux adopts the GPLv2, and so on. And it is even more complicated than that: every package inside the distro could be released under a different licence. Even so, all free software licences rest on four fundamental pillars set out by the Free Software Foundation about thirty years ago.

Freedom 0: the freedom to run the program Freedom 1: the freedom to study the program and change it Freedom 2: the freedom to redistribute copies of the original program Freedom 3: the freedom to distribute copies of the program with your improvements

Keeping these pillars in mind...

RHEL closes the code. Really, really?

With a post of just 2,046 characters titled "Furthering the evolution of CentOS Stream", RedHat announced:

CentOS Stream will now be the sole repository for public RHEL-related source code releases. For Red Hat customers and partners, source code will remain available via the Red Hat Customer Portal.

All right, let's take a step back. Remember when we said, talking about CentOS as the original 1:1 clone, that this was possible because all the RHEL source code, line by line, tarball by tarball, was publicly available for download? Well, that's where the whole problem lies. If from now on the only open code is that of CentOS Stream, which is an upstream version of RHEL, it means the source code of RHEL will only be available on the RedHat portal, closed to anyone who isn't a customer. Now, given that you can create an account on the RedHat portal without paying a penny, the problem is the user agreement. If RedHat identified an inappropriate use of its code, under the clauses you accept when you register, it would be fully entitled to close the offending account.

But, as the Software Freedom Conservancy points out, quoting the GPLv3:

You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License.

So the situation is a very complex game of legalese. So complex that the reactions of Rocky Linux and AlmaLinux are not of the same tone. Far from it. AlmaLinux wrote:

This change means that we, as builders of a RHEL clone, will now be responsible for following the licensing and agreements that are in place around Red Hat's interfaces, in addition to the licenses in the software sources. Unfortunately, the way we understand it today, Red Hat's user interface agreements indicate that re-publishing sources acquired through the customer portal would be a violation of those agreements.

And Rocky Linux:

While this decision does change the automation we use for building Rocky Linux, we have already created a short term mitigation and are developing the longer term strategy. There will be no disruption or change for any Rocky Linux users, collaborators, or partners.

The open source community has not reacted with one voice, and on the historic portal LWN.net users' comments are quick to point out details, popular and unpopular opinions, and prospects for an uncertain future. The problem is that, in my (unrequested) opinion, this is a very dangerous precedent: if it went through without consequences it could pave the way for the end of open source as we know it. Not to mention the deep crisis the GPL licence has been going through in recent years. We live in interesting times.

When the patch is worse than the hole

In what I would call a sloppy attempt to patch up the communication disaster of the last few days, the vice president of core platforms, Mike McGrath, decided to write another post on the RedHat blog. And here things become clearer. For the worse. After duly complaining that the open source community had started calling RedHat "evil" and "anti open source" (here are some of the reactions under a toot by Jeff Geerling), here come a few masterpiece sentences:

I feel that much of the ire from our recent decision around the downstream sources comes from those who do not want to pay for the time, effort and resources going into RHEL or those who want to repackage it for their own profit.

And then:

Simply rebuilding code, without adding value or changing it in any way, represents a real threat to open source companies everywhere. This is a real threat to open source, and one that has the potential to revert open source back into a hobbyist- and hackers-only activity.

Pray tell: since when has it been a problem that open source is an activity for hobbyists and hackers? If it weren't for hobbyists and hackers, Linux wouldn't even exist and IBM wouldn't be paying McGrath a handsome salary. Just to state the obvious...

Badly handled communication

In recent years RedHat has really kicked away the reputation it had earned over the years in the open source world. RedHat has always sponsored projects to promote open source: initiatives, portals, podcasts, conferences, you name it. RedHat is also, to this day, the second largest contributor in the world to the Linux code. Ergo: saying that RedHat is against open source is not only ungenerous but, facts in hand, also false. Even so, the decisions to kill CentOS first and then try to kill AlmaLinux and Rocky Linux are not really its style. Quite the opposite.

Dear RedHat, you are better than this, and you know it. The community needs you as much as you need the community. Go back to being what you have always been and stop being arrogant. Sta casa aspietta a te (this house is waiting for you).


References and further reading

RedHat's decision and the reactions

CentOS, from clone to Stream

Free software and licences