https://distrowatch.com/ lists EOL for each distro (unless it is a rolling release os)
Linux
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
Linux distro is a dead end for museum pieces, as Linux itself is moving away from obsolete platforms. The only OS in general guaranteed to support old hardware is NetBSD, but OpenBSD is still supporting ia32 as it stands. FreeBSD fully dropped it, and Linux is not particularly interested in keeping all the parts of those old platforms these days.
Out of curiosity, what are you running that requires continuous legacy support?
Debian has LTD and ELTS (paid) support
I didn't know ELTS was a thing for Debian. It sucks that you have to pay for it, but it's understandable.
CERN did a talk recently at minidebconf about moving their accelerator machines to Debian, you should give it a each about how they solved the old architecture being removed by distros.
If you're asking that, I'm assuming that legacy support is more important to you than the latest software patches, and you have another way to ensure the security of the machine (as in, it's not online), in which case the distro that'll support your machine the longest is the obe you never update. Keep a copy of the install ISO and the entire package database and you'll be able to reinstall or add packages even if the official mirror goes offline. This may sound flippant, but I can see there being uses for standalone machines like that.
Unfortunately, if you do want up-to-date security, you're going to struggle to get support for legacy systems such as 32-bit as it's not the distros dropping that, but the kernel team slowly removing support for it. X11 is a different beast, it's being dropped because wayland is, allegedly, better, but you'll probably still be able to run an X11 server for a long time to come. Whether applications will even contain the code needed to display on one is a different question though, but again, it's not the distros controlling that, but the application authors.
That's the thing; I'm looking for distros that have legacy support AND actively receive patches. It's not an easy question to answer, so that's why I'm looking for answers.
No offense, but you're in for a world of pain. I've been in the "I want to update all packages except these" situation with Gentoo (which is about as flexible for this sort of thing as you can get), and eventually you end up with mutually contradictory requirements that require you to stop updating more and more packages if you can't or won't ditch the problem ones. You can get around some of it by tinkering and backporting patches, but the distro will not do it for you after a certain point because it isn't worth it for them.
I never said anything about holding certain packages back while also updating others, unless you mean using LTS kernels.
What's legacy support? There is a lot of legacy and not all the support for things being dropped will affect you. It would help a lot if you know where you draw the line. I doubt you need support for i383 chips which were dropped by the kernel years ago. The solution to running on that is a lot different then other still supported chipsets.
If we have to draw a line somewhere, let's say 32-bit-only XP-era machines. I'd like to see a distro that could get those online safely past 2028.
Desktop or server?
Desktop, because I assume server is easier.
Ah yeah in that case desktop would be a bit trickier because the desktop apps might need a lot of libraries to remain supported that can't be updated. And you would probably want the device to be able to access the Internet, which means you would want everything to remain as updated as is feasible.
I would probably still go with Debian either way though. We chose Debian because of its long-term stability and legacy support, though that is 90% for our servers. However, nearly all of our desktops run Debian as well.
Have you had a look at OpenSUSE Tumbleweed? It checks your boxes, I've used it before (just fine). It's a very opinionated Linux distro, the *SUSE family that is, but it's "enterprise class". Tumbleweed is the rolling distro that fits between a classic Fedora/RH style (they call theirs "Leap") and an daily Arch/Gentoo style (newest everything with basic testing); while it's rolling, the actual updates are tested and vetted so it's a slower version of a rolling distro. More the tortoise and not the hare, if you will.
I'm surprised they still have a 32-bit version. How long do they plan to support it for?
Antix Linux
This is the correct reply. Based on Debian (usually stable I think), they are dedicated to being used on old hardware, and have added tweaks accordingly. In addition to being extremely lightweight.
Gentoo is a rolling release, so I'm not sure it really meets your criteria, but it still supports x86!
Gentoo is a rolling release, so I’m not sure it really meets your criteria
Not exactly, but it has LTS kernels on top of 32-bit support, so there's that.
In the past I've recommended Debian for legacy support, but apparently they have stopped releasing x86_32 builds.
That's one of the main things that inspired this post. It frustrates me.