How can I keep timezone rules current on an end-of-life CentOS system?

0
3
Asked By MellowCedar47 On

My region is planning to stop switching between standard time and daylight time in November and remain on daylight time year-round. Since this CentOS installation is already end-of-life, can I manually configure a fixed UTC offset, or otherwise update its timezone data so the system uses the new local-time rules?

3 Answers

Answered By SilverMaple31 On

If you truly want a fixed offset rather than regional timezone rules, configure the system and applications to use an appropriate fixed-offset timezone such as an Etc/GMT zone. Be careful with the sign convention for Etc/GMT names, and understand that a fixed offset will not automatically follow future legal changes or historical timezone transitions.

Answered By BrightHarbor82 On

The cleanest long-term solution is to migrate to a supported operating system. An end-of-life release has security risks and will not reliably receive timezone updates. If migration is not immediately possible, install a newer tzdata package from a trusted source or backport it yourself.

Answered By QuietLantern6 On

You can obtain newer timezone data from the upstream timezone database and install or package it locally. It is usually safer to build a replacement package with a version newer than the old system package, while making sure it will not conflict with future vendor packages. Check all applications separately, because Java/OpenJDK and some databases may carry their own timezone files instead of using the operating system's copy.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.