News for hackers. Stuff that matters.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by richardwhiuk on Thursday June 03, 2021 @02:59PM (#27385818)
Doesn't Fedora X's RPMs basically become RHEL's RPMs? What's the big deal here?
Re:Fedora co-mingles its source packages with Red Hat Enterp... by dralley on Thursday June 03, 2021 @04:11PM (#27386666)
The author seems to be complaining that instead of every distro having their own copy of specfiles, the specfiles are semi-shared and use conditional logic to include or exclude components depending on which distribution the package is being built for.

In this particular case a feature should have been disabled on Fedora, but was enabled unconditionally, which caused problems on Fedora.

They seem to be further complaining that when this bug was fixed [0], a condition was added for "fedora" rather than "rhel", meaning that any Fedora derivatives might trip over this issue (because they wouldn't trigger the condition).

But they never made this complaint in the actual Bugzilla [0] where someone could consider their feedback, they skipped straight to the "complain via blog post" phase. Just like they did in their first blog post [1] where they said

>I would file a bug report but I cannot imagine that Fedora would accept it. They already know that this feature doesn't work; it's right there in the DKMS manpage. It's there anyway because, well, I don't know. This is the most user-hostile decision I think I've ever seen Fedora make.

Nevertheless it seems they did file the bug report, and it was accepted, and fixed in less than a week.

My advice to the author is that perhaps they should extend a little more charity and "just ask" first, before they jump at the opportunity to complain in public - without having mentioned the issue to anyone with the ability to fix it.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1962841

[1] https://utcc.utoronto.ca/~cks/space/blog/linux/FedoraWeakUpd...

Re:Fedora co-mingles its source packages with Red Hat Enterp... by gnufx on Thursday June 03, 2021 @06:43PM (#27388395)
For what it's worth, some Fedora maintainers maintain that maintainers generally should use branches and not spec conditionals. Other maintainers ignore them. That's a branch for every Fedora and EL release (assuming you maintain for EPEL) and pending releases; I'd rather not.

I see nothing wrong with that conditional. It's a toss up which way you write such things, sometimes trying to second-guess future EL versions. I'd expect any Fedora derivative to define %fedora, the way RHEL derivatives define %rhel as well as, say, %centos.

Good advice to the author. Apart from anything else, bug reports can be useful to fellow users, even if maintainers don't make the requested change -- or perhaps don't until enough ire from other users accumulates under the report.

Re:Fedora co-mingles its source packages with Red Hat Enterp... by 3v1n0 on Thursday June 03, 2021 @06:05PM (#27388010)
Also debian uses conditional rules on some packages whether something is for debian, ubuntu or a derivative
Re:Fedora co-mingles its source packages with Red Hat Enterp... by dralley on Thursday June 03, 2021 @06:40PM (#27388359)
Good point, I see someone posted an example downthread

https://salsa.debian.org/search?search=Ubuntu&group_id=4586&...

Re:Fedora co-mingles its source packages with Red Hat Enterp... by DiabloD3 on Thursday June 03, 2021 @06:39PM (#27388352)
This is only in cases where the packages are maintained by a joint Debian/Ubuntu team, so everyone is already on board to make sure this works.

Redhat, otoh, fosters a culture that does not care about Fedora.

Re:Fedora co-mingles its source packages with Red Hat Enterp... by dralley on Thursday June 03, 2021 @06:40PM (#27388366)
> Redhat, otoh, fosters a culture that does not care about Fedora.

disclaimer: I do work for Red Hat, my opinions are my own.

Why do you feel that way?

Re:Fedora co-mingles its source packages with Red Hat Enterp... by kjs3 on Thursday June 03, 2021 @05:39PM (#27387697)
Welcome to the social media era. You don't get clicks/likes/upvotes by going through the process to engage with people, you get them by running to social media and making mountains out of molehills, for the lulz. Remember, it's not about community, or helping out, or just doing the right thing, it's about your "influencer" clout.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by skered on Thursday June 03, 2021 @03:25PM (#27386140)
Until Red Hat starts to add backports or fixes for customers that don't get push back upstream. Then when X+1 gets to RHEL it's missing all the previous RHEL only updates (some not backport related).
Re:Fedora co-mingles its source packages with Red Hat Enterp... by CoolGuySteve on Thursday June 03, 2021 @03:35PM (#27386251)
I always wondered who does all this backporting and patching work for these ancient enterprise Linuxes. It seems like brutally monotonous work.

Maybe they're reading this comment right now, hi!

Re:Fedora co-mingles its source packages with Red Hat Enterp... by handrous on Thursday June 03, 2021 @05:35PM (#27387649)
Is there a world in which the vast majority of dev work isn't brutally monotonous? Most work's writing unremarkable code for unremarkable products containing unremarkable features that have already been implemented 1,000 times before, and likely even more than once before for the person doing the work. A ton of dev time, at least for people who aren't the much-derided solo-language-experts (e.g. The C# + Windows programmer, the Java programmer, who only do those kinds of jobs and don't even dabble in much else) is just wrangling the unfamiliar-brokenness of a tool & library ecosystem (it would be familiar-brokenness 5 years in and take up little of your time, for most non-trendy platforms, but you're either using a trendy one that changes way too much, or will be on a different language + ecosystem entirely before you hit 5 years on this one).

Very little dev effort is working on anything cool, and very little of the code for cool projects isn't kinda boring and normal.

Re:Fedora co-mingles its source packages with Red Hat Enterp... by delaynomore on Thursday June 03, 2021 @04:36PM (#27386961)
For a lot of developers, "brutally monotonous work" is just ... work.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by NAK21 on Thursday June 03, 2021 @04:23PM (#27386817)
Maybe I'm missing what's ancient about Fedora or RHEL, care to share?
Re:Fedora co-mingles its source packages with Red Hat Enterp... by CoolGuySteve on Thursday June 03, 2021 @04:32PM (#27386915)
RHEL 7 came out 6 years ago with Linux 3.10 and is still getting patched. Somebody has to manage and integrate all those security fixes in all those packages without breaking the old codebases.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by chasil on Thursday June 03, 2021 @04:59PM (#27387233)
...it's not just getting patched.

Kernelcare has given me 48 hotfixes on a 3.10 kernel that I booted last year.

    kcarectl --patch-info | awk '/^kpatch-name/{print ++n};{print}'
    ....
    48
    kpatch-name: 3.10.0/proc-restrict-pagemap-access-1062.patch
    kpatch-description: Restrict access to pagemap/kpageflags/kpagecount
    kpatch-kernel: 
    kpatch-cve: 
    kpatch-cvss: 
    kpatch-cve-url: http://googleprojectzero.blogspot.ru/2015/03/exploiting-dram-rowhammer-bug-to-gain.html
    kpatch-patch-url: 

    uname: 3.10.0-1160.25.1.el7
Re:Fedora co-mingles its source packages with Red Hat Enterp... by gnufx on Thursday June 03, 2021 @07:02PM (#27388551)
Is "kpatch" there actually the same thing as RHEL's kpatch? I thought Kernelcare used something proprietary.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by chasil on Tuesday June 08, 2021 @05:47AM (#27432318)
The Kernelcare front end tool is kcarectl.

Ksplice (Oracle) was first, followed by kgraft (Suse), and kpatch (RedHat).

According to the article below, kpatch is x86/64 only, uses ftrace, provides runtime patches only until the next minor kernel release on a standard license, does not address all CVEs, and cannot be used with "SystemTop or kprobe."

"KernelCare has no such limitations."

https://blog.kernelcare.com/competitors/kpatch-overview-of-e...

Re:Fedora co-mingles its source packages with Red Hat Enterp... by gnufx on Wednesday June 09, 2021 @07:44AM (#27446768)
I asked because the listing said "kpatch" in the output of the command. I've never used Kernelcare, only suggested investigating it, despite it being proprietary.

Ksplice was done by MIT students, not Oracle. I used it long before Oracle bought it, initially with my own patches (and actually after that as a "legacy" customer). kpatch isn't just x86_64; it's in at least ppc64le RHEL 7, although not for the "alt kernel" on the POWER9 systems I use.

I don't know whether it's the case, but their comparison rather suggests Kernelcare is based on Ksplice.

Re:Fedora co-mingles its source packages with Red Hat Enterp... by jaboutboul on Thursday June 03, 2021 @05:31PM (#27387609)
+1 for KernelCare.
Re:Fedora co-mingles its source packages with Red Hat Enterp... by gnufx on Thursday June 03, 2021 @06:59PM (#27388531)
Actually, POWER9 RHEL7 has Linux 4.x, where x depends on the minor release -- unfortunately not the latest on the system I use. I think aarch64 is similar, but I'd have to look for rpm to check. They need similar attention, of course.

Anyway, RHEL kernels have various features backported to the vanilla version on which it was originally based, not just security patches, which probably makes the job harder. It is a major effort.

Re:Fedora co-mingles its source packages with Red Hat Enterp... by denimnerd42 on Thursday June 03, 2021 @03:34PM (#27386243)
How often does this happen? do they not keep track of what they need to upstream? how do they merge that all back in when X+1 begins? yikes..
Re:Fedora co-mingles its source packages with Red Hat Enterp... by richardwhiuk on Thursday June 03, 2021 @03:54PM (#27386448)
Presumably everything relevant in RHEL gets backported before the next RHEL cut, and everything is in a branch?
Re:Fedora co-mingles its source packages with Red Hat Enterp... by fulafel on Thursday June 03, 2021 @11:43PM (#27390321)
Fedora is supposedly a community project and there are lots of desktop/laptop Fedora users and contributors who hold it to similar standards as eg Debian. Your comment seems to assume Fedora's aim is basically to be a RHEL incubator but that's not how it's supposed to work.