LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2014, 04:55 PM   #1
MikeCannon
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Rep: Reputation: Disabled
RHEL 6.5 - how do I disable DST?


How do I disable DST on a RHEL v6.5 system?
 
Old 11-04-2014, 12:40 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
then set the correct time
and / or use the NTP
 
Old 11-04-2014, 01:52 AM   #3
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
I thought DST changes are automatic/setup somewhere in a package and the server will automatically shift (ex. CET to CEST, then back)
 
Old 11-04-2014, 05:27 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
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

Last edited by michaelk; 11-04-2014 at 05:50 AM.
 
Old 11-04-2014, 11:09 AM   #5
MikeCannon
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 11-04-2014, 11:45 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
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.
 
Old 11-04-2014, 11:57 AM   #7
MikeCannon
LQ Newbie
 
Registered: Nov 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to Disable NIS on RHEL 5.0? rsteving Linux - Newbie 2 02-01-2011 10:26 AM
How to disable games on RHEL 4 hopfingera Linux - Newbie 4 07-09-2008 05:11 PM
Help Me!! DST update instructions for RHEL AS3 and RHL v8 r_vin27 Linux - Newbie 1 03-20-2008 11:57 AM
RHEL 3 - Can't disable antialiasing jaloba Red Hat 1 08-29-2005 11:46 AM
How to disable DST in RH 9.0?? registering Red Hat 0 04-12-2004 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration