RHEL 6.5 - how do I disable DST?
How do I disable DST on a RHEL v6.5 system?
|
then set the correct time
and / or use the NTP |
I thought DST changes are automatic/setup somewhere in a package and the server will automatically shift (ex. CET to CEST, then back)
|
ntp works just on UTC. The timezone setting will switch between daylight saving and standard time.
Your question is a bit vague. Do you want your clock to display standard time or be fixed. If the first then make sure your tz database is updated and your timezone is set correctly. For those that do not have a timezone or use DST you can use a fixed offset by using a timezone Etc/gmt - or + offset. I believe it is possible to configure a fixed x:30 offset if you live in a country with that type of UTC offset |
Etc/GMT... did the trick. Specifically:
# cd /etc # mv localtime localtime.orig # ln –s /usr/share/zoneinfo/Etc/GMT+8 localtime because I'm on the left coast. you link to the appropriate “GMT+*” or “GMT-*” file per your desired local timezone. My system needs to ignore DST basically because it has to adhere to Zulu time (we're a military simulation), which of course remains "constant" wrt DST's spring-forward-fall-back. The system clock is the basis for our software clock. |
Interesting that you didn't want to use Zulu time.
. Glad it is working and you can mark the thread as solved via the thread tools at the top of the page. |
We maintain two times - Zulu and a "local time". If you-the-user are doing a training exercise whose scenario is in e.g., South Africa, you set local time to Zulu plus 2 hours. If your scenario is in certain SW Asia locales, you might have to set your local time to Zulu plus 3 hours and 30 minutes.
|
All times are GMT -5. The time now is 12:06 AM. |