this post was submitted on 22 Jan 2025
1367 points (98.9% liked)

linuxmemes

21925 readers
2580 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] NONE_dc@lemmy.world 9 points 1 day ago (2 children)

    But, like, is for support and stuff, no?

    [–] Dran_Arcana@lemmy.world 47 points 1 day ago (2 children)

    A lot of industries are semi-forced into it. Let me give you an example I know of first-hand. Modern SAP stacks support 3 operating systems. Windows Server, RHEL, and SuSE.

    You're probably thinking to yourself: "but rhel is just regular linux, surely you can install it on anything if you have the appropriate dependencies, I'll bet it even just works on rhel-compatibles like rocky, alma, or centos stream!"

    And you would be ~sort of~ right, but wrong in the most dystopian way possible. The installer itself does hardcoded checks for "compatible" operating systems, using /etc/os-release and a few other common system files. Spoofing those to rhel 8.5 or whatever is easy enough, but the one that really gets you is a dependency for compat-glibc-X.Y-ZZZZ.x86_64. This "glibc compatibility library" is conveniently only accessible via a super special redhat repository granted by a super special sap license (which is like ~$2,000/year/cpu). Looking at the redhat sources it is actually just a bog-standard semi-modern glibc compile with nothing special. The only other thing you get with this license as far as I can tell is another metapackage that installs dependencies, and makes a few kernel tweaks recommended by SAP.

    So you can install it on alma/rocky by impersonating rhel in /etc/os-release, and then compiling a version of glibc and linking it in a special hardcoded location, but SAP/Redhat put as many roadblocks in your way as possible to do this. It took me weeks of reverse-engineering the installer to get our farm off of the ~100k/yr that redhat wanted to charge us for essentially:

    ./configure --enable-bootstrap --enable-languages=c,c++,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libquadmath --disable-libsanitizer --disable-libvtv --disable-libgomp --disable-libitm --disable-libssp --disable-libatomic --disable-libcilkrts --without-isl --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
    Thread model: posix
    gcc version 9.1.1 20190605 (Red Hat 9.1.1-2) (GCC)
    

    definitely worth $100,000/yr... much capitalism, many line go up

    [–] NONE_dc@lemmy.world 21 points 1 day ago (2 children)

    Finally... I found it... Evil Linux...

    [–] slazer2au@lemmy.world 1 points 7 hours ago

    Just don't tell that numpty that runs !linuxsucks@lemmy.world

    [–] nesc@lemmy.cafe 2 points 19 hours ago (1 children)

    There is nothing evil about it? Like sources are available, rhel itself is cheap and actually invests a lot in oss. If you want an unsupported system you are free to do something like this.

    [–] NONE_dc@lemmy.world 3 points 19 hours ago

    I said evil as in the meme, like the evil version of something is its total opposite. And RHEL sound like the total opposite of what I associate whit Linux.

    [–] barnaclebutt@lemmy.world 5 points 22 hours ago* (last edited 22 hours ago) (1 children)

    I assumed that you could just run fedora and spoof RHEL. The fact that you need to use a specific GCC is insane. They must share their source code right? Or, are they no longer sharing it as they are legally required to?

    Anyways, RHEL is deep suck.

    [–] Dran_Arcana@lemmy.world 3 points 20 hours ago

    The source to this compat library is in their sources last I checked, but because it's not part of their standard repos it doesn't technically have to be. I suspect this is eventually the end-goal.

    [–] maniii@lemmy.world 10 points 1 day ago (1 children)

    RHEL is subscription based. Not just support anymore. Also for product.

    [–] NONE_dc@lemmy.world 5 points 1 day ago

    Don't know what to think about it... 😬