RE: Solaris 2.7 Daylight saving time fix.



Keith,

After doing such on a 2.7 or 2.6 machine what does "zdump -v EST5EDT |
grep 2007"
Report?

Bruce

-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx]
On Behalf Of Keith Farrar
Sent: Monday, January 15, 2007 2:53 PM
To: lcashdol@xxxxxxxxx
Cc: focus-sun@xxxxxxxxxxxxxxxxx
Subject: Re: Solaris 2.7 Daylight saving time fix.

You can clone the relevant parts of a working patch for Solaris 8 with a
short shell script (worked fine on Solaris 2.6 and Solaris 7).

-KF

#!/bin/sh
## shell script hack to force solaris DST zonefile updates ## - use cat
to preserve hard links between zonefiles ## - only update pre-existing
files ## unpack Solaris 8 DST patch 109809-04 under /var/tmp/ ## then
run this script on Solaris 2.6 / 7 systems ## Keith Farrar
<kfarrar@xxxxxxxx>

cd /var/tmp/109809-04/SUNWcsu/reloc/usr/share/lib/zoneinfo

# for f in `find Mideast -type f -print` for f in `find * -type f
-print`
do if [ -f /usr/share/lib/zoneinfo/$f ]; then
cat $f > /usr/share/lib/zoneinfo/$f
ls -lg /usr/share/lib/zoneinfo/$f
fi
done




lcashdol@xxxxxxxxx wrote:
Hi,
I am working on getting Solaris 2.7 compliant with the new DST
changes for March 2007. I downloaded the latest updates from:

wget ftp://elsie.nci.nih.gov/pub/tz*.tar.gz

Ran zic on northamerica
Then tested with a zdump:


zdump -v EST5EDT |grep 2007


which still reported April when the DST would occur. What am I
missing? this worked for linux.



Relevant Pages

  • Re: Solaris 2.7 Daylight saving time fix.
    ... You can clone the relevant parts of a working patch for Solaris 8 ... with a short shell script (worked fine on Solaris 2.6 and Solaris 7). ... I downloaded the latest updates from: ...
    (Focus-SUN)
  • Re: $TZ variable problems
    ... I'm not familiar with POSIX TZ strings. ... Does Solaris recognize ... So DST is until the 3rd week of Feb? ...
    (comp.unix.solaris)
  • Re: MET DST and MEST
    ... the reason is in different presentation of date printout on Solaris 8 and 7 ... when Summer time is active: ... MEST GMT+0200 Middle European Summer ... DST GMT+0200 Daylight Saving Time ...
    (comp.unix.solaris)
  • Re: solaris rtp program and ntp
    ... I don't know anything about Solaris, but my google reading indicates ... that this is a program that only messes with TZ to handle DST, ...
    (comp.protocols.time.ntp)
  • Re: SunOS 5.9: timezone data patch
    ... Download and install the latest Solaris 9 patch cluster. ... has all the DST updates. ...
    (comp.unix.solaris)