Do we have some software that runs fine on CentOS 7. Which end of lifed in June

Upgraded hosts to Oracle Linux 9. Shit didn't with there. Tested on a Red Hat Enterprise Linux 9 host because the software specifically says is supported.

The only problem, for 9.2. The hosts are current which is 9.4.

We went through work to support an Oracle Linux 8 deploy

The software kinda sorta mostly worked. It didn't like Oracle at all.

1/n

A tester noted that Rocky and Alma are in "testing" support.

Our group will not, if we can help it, yet another distro. Three is enough, the two Oracles and Ubuntu 22.04 LTS

So, I decided to lie to the software by changing /etc/os-release to be what an Red Hat Enterprise Linux 8 just would return

Reader, it fucking worked for my simple test

Now I'm just waiting to hear back from the tester and see if they're ok with it

Fucking computers y'all

2/2

@gizmomathboy just by changing /etc/os-release ?

That's crazy, I mean... intentional.
That looks like the software reading /etc/os-release and refusing to work with wrong values. Does it explicitly read it? Either that or something like reading /etc/os-release and then suffering a buffer overflow because the lines are longer than expected.

Anyway, do remember that it is possible to show a different /etc/os-release just to one program (through some tinkering with namespaces and mounts), in case you need to the keep the real data for the rest of the OS.

@crlf some of the other software was basically getting info from that file as near as we can tell

I know. It's kinda wild.

I don't think it matters too much for the software. It's the libraries and such that are used.

Oracle Linux is a derivative of Red Hat Enterprise Linux as are Rocky and Alma.

Nominally if it runs on one it "should" run on the others.

I mean, the software wouldn't run on rhel 9.4 but should on 9.2.

How different will those be? Really.