Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Re: Solaris 2.7 Daylight saving time fix.

Subject: Re: Solaris 2.7 Daylight saving time fix.
Date: Wed, 10 Jan 2007 18:54:09 -0600
 zdump -v EST5EDT |grep 2007
which still reported April when the DST would occur.  What am I missing? 
this worked for linux.

I built the tools that come in the code bundle and:
#  code/zdump -v CST6CDT | grep 2007
CST6CDT  Sun Mar 11 07:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 CST 
isdst=0
CST6CDT  Sun Mar 11 08:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 CDT 
isdst=1
CST6CDT  Sun Nov  4 06:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 CDT 
isdst=1
CST6CDT  Sun Nov  4 07:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 CST 
isdst=0

#  zdump -v CST6CDT | grep 2007
CST6CDT  Wed Jan 10 23:23:36 2007 GMT = Wed Jan 10 17:23:36 2007 CST 
isdst=0
CST6CDT  Sun Apr  1 07:59:59 2007 GMT = Sun Apr  1 01:59:59 2007 CST 
isdst=0
CST6CDT  Sun Apr  1 08:00:00 2007 GMT = Sun Apr  1 03:00:00 2007 CDT 
isdst=1
CST6CDT  Sun Oct 28 06:59:59 2007 GMT = Sun Oct 28 01:59:59 2007 CDT 
isdst=1
CST6CDT  Sun Oct 28 07:00:00 2007 GMT = Sun Oct 28 01:00:00 2007 CST 
isdst=0

They work, where Sun's doesn't, though for, say Chicago:
 #  zdump -v America/Chicago | grep 2007
America/Chicago  Wed Jan 10 23:25:11 2007 GMT = Wed Jan 10 17:25:11 2007 
CST isdst=0
America/Chicago  Sun Mar 11 07:59:59 2007 GMT = Sun Mar 11 01:59:59 2007 
CST isdst=0
America/Chicago  Sun Mar 11 08:00:00 2007 GMT = Sun Mar 11 03:00:00 2007 
CDT isdst=1
America/Chicago  Sun Nov  4 06:59:59 2007 GMT = Sun Nov  4 01:59:59 2007 
CDT isdst=1
America/Chicago  Sun Nov  4 07:00:00 2007 GMT = Sun Nov  4 01:00:00 2007 
CST isdst=0

it does. So I did a truss on zdump for CST6CDT and it never opens a 
zoneinfo file. It just calls "time()". But it does open the zoneinfo file 
for America/Chicago. 
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102178-1

appears to be some patches for it.

a

Andy Bach
Systems Mangler
Internet: andy_bach@wiwb.uscourts.gov
VOICE: (608) 261-5738  FAX 264-5932

If  it's not  on  fire  it's  a  software  problem.

<Prev in Thread] Current Thread [Next in Thread>