Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Daylight saving not working properly with linux-2.6. kernel Post 302346808 by subratasaharia on Monday 24th of August 2009 06:29:24 AM
Old 08-24-2009
Daylight saving not working properly with linux-2.6. kernel

The daylight saving action is not working

Time zone was set for that Australia(parth) and issued reboot.
Now for DST, (Daylight Saving Time):
For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will
become 3:00:00 as per DST . This was found to be happening.i.e DST start worked fine.

But DST ending which was supposed to be on 25 March 2007 (sunday) didnt work. The expected behaviour was one minute after 2.59.59 (AM) the time should have become 2.0.0.(AM) . But it continued to become 3.00.00 and then 3.00.01 and so on.


This behaviour is observed in the southern hemisphere countries only like newzealand, chile etc.
Please suggest if this is a configuration of kernel issue or this is an inherent bug in kernel 2.6

Strangely for linux-2.4 this issue is not there. Is there any patch for DST that can be applied ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Timestamp - confusion with daylight saving time

Hello! I'm currently working on a climatological dataset that uses unix-timestamp and a real date like 28/03/2004 02:45:00 h. in spring the unix-timestamp follows its continuos mode but in the column of the real date the time jumps one hour forward (e.g. from 1:59:59 to 3:00:00). i think this is... (1 Reply)
Discussion started by: softmachine
1 Replies

2. Solaris

disable daylight saving

hi ... i have an E450 sun server that is running solaris 6 . i want to disable daylight savings on my server . My question is : 1) how to know that my server is running daylight savings ? 2) how to disable it ? my zoneinfo file contains the following # @(#)init.dfl 1.2 92/11/26 # #... (1 Reply)
Discussion started by: ppass
1 Replies

3. UNIX for Advanced & Expert Users

Rlogin not working properly from Linux

I have a mix of sun and linux servers in my enterprise. Not sure where to look for this problem any more. If i do an rlogin from my sun systems to this particular sun server there is no problem. However if i login from my ren hat enterprise servers to this sun box it takes quite a few minutes... (1 Reply)
Discussion started by: frankkahle
1 Replies

4. AIX

Daylight Saving Time patch test

On AIX 5.1, after applying a DST patch or workaround, is there a way to test that the DST changes have taken effect? (1 Reply)
Discussion started by: dangral
1 Replies

5. AIX

Implement daylight saving.

Hi all We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? (1 Reply)
Discussion started by: masquerer
1 Replies

6. UNIX for Advanced & Expert Users

Daylight saving not working properly with linux-2.6. kernel

The daylight saving action is not working Time zone was set for that Australia(parth) and issued reboot. Now for DST, (Daylight Saving Time): For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will become 3:00:00 as per DST . This was found to be happening.i.e DST... (1 Reply)
Discussion started by: subratasaharia
1 Replies

7. Linux

Reading Daylight Saving Time in Linux using C/C++

Hi folks, I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date? I'm using Linux 2.6.xx Kernel. For Example, in... (4 Replies)
Discussion started by: suryaemlinux
4 Replies

8. Linux

How to configure daylight saving time

Hi, I have few doubt on daylight saving. Can any one clarify the below points. 1) How to configure daylight saving(DLS) time ? 2) How to query DLS ? 3) If i set DLS(say some how) will it be autometically changed or user has to manually change system time ? I got few info on net about... (3 Replies)
Discussion started by: ashokd001
3 Replies

9. Linux

How does Linux handle DST ( daylight saving time)?

Hello Can sombody please tell me how linux handles DST ( daylight saving time) ? Does the time change instantly , ex: if is is 3'o clock does linux instantly swich to 2'o clock ? plese give more info about this toppic (2 Replies)
Discussion started by: martonlorand
2 Replies

10. Solaris

Solaris 11 Daylight Saving Time

Hello, Quick question: How do I verify if my Solaris 11 hosts/zones, configured with NTP, would change automatically to the DST? Thanks! (1 Reply)
Discussion started by: feroccimx
1 Replies
timezone(5)							File Formats Manual						       timezone(5)

NAME
timezone, dst - difference between Universal (Greenwich mean) time and Local time VALUES
Default A default value of indicates that the default value for the timezone tunable (420 minutes west of Greenwich, England ) is to be interpreted as a daylight savings time value. Allowed values The value for the tunable should correspond to a defined time zone, and thus should be at least a multiple of 15 minutes. More commonly the value will be a multiple of 60 or 30 minutes, corresponding to an hour or half-hour time zone. The value of the tunable specifies if the time is with daylight savings or not. When the value is set to then the system is using daylight savings time, and if it is set to the system is not. Recommended values Any allowed value is equally recommended. However, the chosen value should correspond to the time zone and daylight saving scheme of the system site or to a time zone and daylight saving scheme which has meaning for applications or users. DESCRIPTION
The tunable is the difference between Greenwich mean time (Universal Time) and local time, expressed as minutes west of Greenwich, England. The tunable indicates whether the tunable is to be interpreted as a standard or daylight savings time value. These tunables provide a way to convert between Grenwich Mean Time (or Universal Time) and local time. Although is a tunable, it is not used to affect the behavior of the system. Rather, it is used to remember time zone information when the system is rebooted. This infor- mation is returned by under HP-UX extensions. The tunable is independent of other methods of indicating time zones. For example, gets or sets the time in either Universal or local time by using the environment variable. In this case the tunable has no effect. In general, it is best to refer to the manpages for specific system calls such as and to check if there is a dependency on the tunable. Who Is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to these tunables take effect at the next reboot. When Should the Value of This Tunable Be Changed? These tunables may be changed to match the system's geographic time zone or the time zone of users. What Other Tunable Values Should Be Changed at the Same Time? The and tunables should always be set and interpreted as a pair of values. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
and were developed by HP. Tunable Kernel Parameters timezone(5)
All times are GMT -4. The time now is 02:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy