Could we have a visual / colour indicator for EoL status of the operating system in the Virtualmin Dashboard, like there is for Webmin version, Virtualmin version, Usermin version and Theme version?
Thatās a good idea. Iām not sure how weād implement it in a reliable way. I think apt will say something about it on apt update, but itās in a mess of text, Iām not confident itās always the exact same phrase in every EOL version or that itāll stay the same.
I guess we could maintain our own list of EOL operating systems, but Iām sure weād occasionally be a little behind, since I donāt monitor it super closely.
I like this idea too! @Jamie letās just make a list of EOL OS (at least some, Grade A in Virtualmin for starters) and just push a notification to the Dashboard a few months before EOL and make it dismissible.
Yeah, I wouldnāt want to pull from a third party on every client machine, but we could build our own static text list hosted on one of our servers from an API, and update it every week or whatever (EOL dates donāt change often, though Debian historically sort of vaguely moves around based on when the next new release is readyā¦the commercial distros have fixed dates that rarely change).
Yeah, though I donāt think we even need to pull it remotely. EOL is really not changing more often than Webmin releases, so I think it should be a simple local file.
Yeah I think this is a good idea. The question is where to store it ā¦ simplest would be a simple text file per distro thatās part of Virtualmin containing the support status like :
os_name=Debian Linux
os_version=13.0
status=supported
eol=12-12-2025
os_list.txt would explode in complexity. It doesnāt currently keep up with every single releaseā¦only the ones that change something Webmin cares about.
@Joe, The real thing is that detect_operating_system() is already reading os_list.txt and updates /etc/webmin/config with real_os_type, os_type, os_version, etc. Additionally, a lot has been done around this subroutine, which is called from get_webmin_notifications, already part of the status collection that involves caching, and much more! Therefore, I believe we should just add OS Active Support as parameter #6 and Security Support as parameter #7 to os_list.txt file, and store it in /etc/webmin/config with os_eol_active and os_eol_security keys, using the standard SQL date format.
@Jamie, Iāll go check how we can automate this and send you a PR.
First warning is enough (screen shot)ā¦ no one is going to go reading about how long before EOL on a page I have never visited in the 10 plus years we been running Virtualmin