Repository navigation
RFC: Enable CRB by default for AlmaLinux 10+ - #10
Conversation
|
+1. I meant to PR/RFC this myself due to the EPEL reasons mentioned. |
|
This is deviation from RHEL obviously. And yes it'll make EPEL users life a little easier if they're not very familiar with EPEL and how to use it correctly. But:
I'd still like to see AlmaLinux as RHEL drop-in replacement, not as something RHEL-based but better in a way we think it's better. Having different configuration by default is very noticeable and doesn't help with this. |
In practice, these users are going to be enabling CRB on their systems because EPEL requires it.
The biggest reason is that |
Frankly, I think the delta we take for the higher usability for our users is worth it. And not being 1:1 with RHEL gives us an opportunity to fix usability problems that RHEL has because we don't have the same constraints they have. |
|
Please use RFC # |
|
Removing the voting tag for tomorrow's meeting. We can discuss tomorrow and potentially vote, or vote async. Since we have a bit of time before 10's GA there's no reason to rush on this. Worst case we'll get it at the next meeting on the 28th if not before with async voting. |
|
What are the other options? Overall, I prefer Alma to stay close to RHEL - but it doesn't mean we cannot add tooling to make people's life easier. As long as the default/out-of-the-box behavior doesn't differ. |
Mostly for EPEL users, which is a large portion of AlmaLinux users. We discussed this in today's meeting, but didn't vote on it. Most ALESCo members are leaning towards this being a positive change that we should implement but we want more time to look into possible issues or incompatibilities this may bring. @Conan-Kudo can you add additional information to the RFC about the problems with the selinux package in EPEL as you mentioned in the meeting? I think that will help everyone to understand the reasoning for this proposal better. |
This is an anti-pattern that in my opinion should be discouraged. People paying for RHEL in production can get free RHEL in non-production via the Developer Subscription for Teams. Or they can use Alma in both non-production and production. It is understandable to want general RHEL compatibility so that applications work, but demanding identical behavior between two different distros is not reasonable. It's not fair to hold back the user experience for users that are all-in on Alma to satisfy users that are holding onto an outdated anti-pattern. |
|
From @jonathanspw:
This is now done. |
I think it's worth noting that we serve the interests of AlmaLinux users first. Whether or not people use AlmaLinux in dev and RHEL in production, or the inverse, is really not the concern or of any problem to us. If Red Hat prefers people to use RHEL dev licenses for dev and then RHEL in prod, well, that is a Red Hat problem. As it stands, AlmaLinux in dev and RHEL in production is a use case we know of, as is AlmaLinux in both dev and prod. We have to cater to both cases and I think we should weigh that against the (much improved) user experience of enabling CRB by default and what, if any, use cases or compatibilities this would negatively impact. That said, I'm leaning towards enabling CRB by default being a good thing. I think the good of enabling CRB by default for improving the UX with EPEL outweighs the downside of being (slightly) less in-line with RHEL defaults and it seems, to me at least, that anyone using AlmaLinux in dev and then RHEL in production that finding that CRB simply needs to be enabled on RHEL wouldn't be a big ordeal to those folks. For non-EPEL and non-CRB users, the downside mentioned in the PR seems accurate as the only downside - a trivial increase in repo processing time in dnf. Nothing will force the non-EPEL and non-CRB users into actually installing packages from CRB, so I can't think of any reason that would be an issue for those folks. |
|
I agree this is a usability problem, and it has been a problem for a long time. As this affects CentOS Stream (and all of the OSes that are downstream in some way), has there been a recent discussion about changing this there? |
|
I see the point, but I'm not in favour of changing the default. As the change is intended for EPEL users, I would say it would be better to enable the CRB repo in the diff --git a/epel-release.spec b/epel-release.spec
index d78d98a..57c3b0c 100644
--- a/epel-release.spec
+++ b/epel-release.spec
@@ -73,8 +73,7 @@ install -D -pm744 -t %{buildroot}%{_bindir} %{SOURCE31}
# Doing a check to see if crb is enabled is as hard and resource intense as enabling or disabling crb.
# So we will say crb is recommended, without first checking. But only on the initial install.
if [ "$1" -eq 1 ] ; then
- echo "Many EPEL packages require the CodeReady Builder (CRB) repository."
- echo "It is recommended that you run %{_bindir}/crb enable to enable the CRB repository."
+ /usr/bin/crb enable
fi |
|
That doesn't help solve the problem this proposal addresses. |
|
Wouldn't it be sufficient to make sure to enable CRB after installing epel-release and before installing the first EPEL package? The change I suggested does that. Point me if I missed something a issue the proposal try to address. As mentioned in
|
|
No, because the problem is that weak dependencies for packages not available a dependency resolution time are ignored for life. And with (It was always a problem, but now it's worse since now packages will look broken due to missing policies.) |
|
Regarding the CRB discussion—I’ve been giving this some thought, particularly around scenarios where diverging from upstream RHEL behavior could lead to unintended consequences. One specific case to consider: organizations that have been maintaining their own internal packages may encounter issues if CRB is enabled by default. This could introduce:
While I still support moving forward with enabling CRB by default (+1 from me), I do think it reinforces the importance of clearly documenting and communicating the change. |
|
I'm +1 on this. I did more thinking on this issue and it will result in an improved user experience across the board - even not tied to EPEL. There are plenty of build deps in CRB that people need when doing normal work and having CRB enabled by default removes a potential point of frustration/time waste in their workflow. Our focus on compatibility is already "if it runs on RHEL it will run on AlmaLinux" and the inverse of this argument doesn't make as much sense (AlmaLinux -> RHEL) given our other changes, let's say hardware enablement. If someone has an old Mellanox ConnectX-3 card running on AlmaLinux, that's not going to work on RHEL, and it'd take a lot more than simple repository enablement to make it work in that case. If we always focus on the AlmaLinux -> RHEL case we won't be able to fully embrace our new direction of "more than a clone". I think we should always consider this use-case, but in this case I think the benefit of enabling CRB by default outweighs the "incompatibility" brought by it. In this case it just means they'd have to enable CRB on RHEL which is at least something that the users could work through, unlike the hardware enablement case. |
|
This was approved at the last ALESCo meeting. Vote results: +4, 0, -1 (4 in favor, 0 abstained, 1 not in favor). |
No description provided.