DST changes in 2007 and Patches

Hi!

Sun has issued patches for the daylight savings time changes in 2007.

Do these patches change anything but the tzdata2006$ file like libc libthread or anything else ?

In other words, it's an easy task to download the latest tzdata file from a public server, install the zoneinfo sources and recompile with zic for the new dates to take effect.

So do I really need to apply those patches or a simple manual procedure as described above will do ?

Thx

Chris

[502 byte] By [Christian_Tremblay] at [2007-11-26 11:43:03]
# 1

Actually my problem is the zic on the trio of Solaris 2.5.1 (I'm stuck with them, not my choice) will not compile the latest tzdata2006* file. I'm not sure where to go next as the company will/can not get rid of or upgrade the OS on these servers and I have to get them updated.. I suspect I'm out of luck, but I hope someone has a suggestion.

White_Volg at 2007-7-7 11:50:25 > top of Java-index,General,Maintenance...
# 2

I too am stuck with Solaris 2.6. I have found a doc on zic which as

I understand will let you re-compile the time zone file. In my

case US/Central. I cannot find the template for Central file though

in /usr/share/lib/zoneinfo

Has anyone already compiled this file for the new DST changes

for US/Central? Or, where can I get the latest file to make the

DST changes and re-compile with zic?

xyzzy at 2007-7-7 11:50:25 > top of Java-index,General,Maintenance...
# 3

Normally you compile the whole thing. The zone compiled is probably America/Chicago, with the 'backward' file creating a link to it from US/Central.

$ grep Central /usr/share/lib/zoneinfo/src/backward

LinkAmerica/WinnipegCanada/Central

LinkAmerica/Chicago US/Central

You could just zic everything into a temp directory and move things around to test them, or you could try copying files from a patched Solaris machine and see if they work.

--

Darren

Darren_Dunham at 2007-7-7 11:50:26 > top of Java-index,General,Maintenance...
# 4

Its quite the kludge, but here's what I did on the 2.5.1 box we have.

I installed patch 103834-01. Its a timezone fix for Brazil or some such from 1997.

It also includes the "newer" version of zic, which will actually compile the TZ files.

I was then able to compile the new timezones just like I was able to on 2.6 and Sol7.

Ugly? Yes. Workable? Absolutely.

bedwards at 2007-7-7 11:50:26 > top of Java-index,General,Maintenance...
# 5

If you want a different kludge, just copy the /usr/share/lib/zoneinfo files from a patched system onto your older system. I've read reports that they work just fine (even as far back as SunOS 4.x systems).

Of course that would not fix up libc, but then neither would 'zic'.

--

Darren

Darren_Dunham at 2007-7-7 11:50:26 > top of Java-index,General,Maintenance...
# 6

Yes, copying the zoneinfo files from a patched system is the easiest way to do this. I found it not only faster but more reliable than recompiling with zic.

I am even copying some Solaris 2.8 zoneinfo files to some ancient Debian hosts I have, works fine. Not sure about the licensing issues :-). But I think Sun probably used the same source as everybody else.

Dump the file with zdump on the target system to make sure.

wsanders at 2007-7-7 11:50:26 > top of Java-index,General,Maintenance...