RE: Solaris 2.7 Daylight saving time fix.

"Riddle, Bruce (Bruce) %" <[email protected]> Mon, 29 Jan 2007 22:18:29 -0500
Newsgroups gmane.comp.security.sun
Message-ID <[email protected]>
Terix seems to be handing out a patch for free:
http://www.terix.com

It looks to me as it doesn't fix Sun's zdump or zic,
but it is in patch format so you can check your showrev -p output.


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of [email protected]
Sent: Monday, January 29, 2007 11:37 AM
To: [email protected]
Cc: [email protected]; [email protected];
[email protected]; [email protected]
Subject: Re: Solaris 2.7 Daylight saving time fix.

> The POSIX standard *requires* that the ?STx?DT format precludes
the use of zone files.

> Any OS which uses the zoneinfo files is not compliant when the $TZ
variable can be parsed under the POSIX rules.

Okay, well the NIH zdump (and, as it happens, the Sol 10 zdump.c I got
to compile on Sol 2.7), "trussed" shows:
open("/usr/share/lib/zoneinfo/GMT", O_RDONLY)   =3D 3
open("/usr/share/lib/zoneinfo/CST6CDT", O_RDONLY) =3D 3

So I guess the reason it 'works' is its not properly POSIX ... so the
question (to my mind) remains - where does Sol's POSIX-valid zdump get
its TZ info?  From a library file?  That would be the one we need to
update.

a

Andy Bach
Systems Mangler
Internet: [email protected]
VOICE: (608) 261-5738  FAX 264-5932

   Although few may originate a policy, we are all able to judge it.
    Pericles of Athens, c.430 B.C.