cancel
Showing results for 
Search instead for 
Did you mean: 

DST rule for RHEL3

 
Md. Minhaz Khan
Super Advisor

DST rule for RHEL3

Dear Concern,
Bangladesh Government decide to introduce DST from 19th June.

Present Scenario:

At Friday, June 19 at 23:00:00 hour local clock time will forward to one hour from 23:00 to 00.00(20th June 2009 00:00:00)

At Thursday, October 1 at 00:00:00 hour Local clock time will be one hour backward from 00:00 to 23:00 (30th September 23:00:00)

To implement above situation i have maintain following steps:

Step1:

Download tzdata2009i.tar.gz from ftp://elsie.nci.nih.gov/pub/

Step 2:

#mkdir tzdata

# cd tzdata

# tar -xzvf tzdata2007c.tar.gz

# zic -d zoneinfo asia

# cd zoneinfo

#rm -rf /usr/share/zoneinfo/Asia

# cp -rf Asia/ /usr/share/zoneinfo/

# rm -rf /etc/localtime

#ln -fs /usr/share/zoneinfo/Asia/Dhaka /etc/localtime

#zdump -v /etc/localtime | grep 2009

/etc/localtime Fri Jun 19 17:59:59 2009 UTC = Fri Jun 19 23:59:59 2009 BDT isdst=0 gmtoff=21600

/etc/localtime Fri Jun 19 18:00:00 2009 UTC = Fri Jun 19 18:00:00 2009 isdst=0 gmtoff=0

From the above output we see DST will effect at 19th June 23:59:59 but as per our government rule DST need to be effect at 19th June 22:59:59 to 0:00:00 (20th June)


How can i implement our DST at 19th June 22:59:59 to 0:00:00 (20th June)??

For bangladesh in the file "asia" for Bangladesh there are RULE. I am trying to change but failed.

Can anyone help me??

Thanks
Minhaz

2 REPLIES
Steven E. Protter
Exalted Contributor

Re: DST rule for RHEL3

Shalom,

For RHEL3 if its still supported, this information can be integrated into the OS with the Red Hat Network, up2date

RH does keep track of and distribute TZ information based on government decrees.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Md. Minhaz Khan
Super Advisor

Re: DST rule for RHEL3

I have solve my problem

Thanks
Minhaz