|
Focus on Sun
Solaris 2.7 Daylight saving time fix. Jan 09 2007 11:08PM lcashdol gmail com (4 replies) Re: Solaris 2.7 Daylight saving time fix. Jan 15 2007 11:52AM Keith Farrar (farrar PARC com) (2 replies) Re: Solaris 2.7 Daylight saving time fix. Jan 16 2007 10:57PM Andy_Bach wiwb uscourts gov (1 replies) |
|
|
Privacy Statement |
After doing such on a 2.7 or 2.6 machine what does "zdump -v EST5EDT |
grep 2007"
Report?
Bruce
-----Original Message-----
From: listbounce (at) securityfocus (dot) com [email concealed] [mailto:listbounce (at) securityfocus (dot) com [email concealed]]
On Behalf Of Keith Farrar
Sent: Monday, January 15, 2007 2:53 PM
To: lcashdol (at) gmail (dot) com [email concealed]
Cc: focus-sun (at) securityfocus (dot) com [email concealed]
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 (at) parc (dot) com [email concealed]>
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 (at) gmail (dot) com [email concealed] 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.
[ reply ]