Re: What TZ do you use to get right time w/ clockspeed?

Bennett Todd <[email protected]> Thu, 14 Nov 2002 15:27:06 -0500
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
2002-11-14-15:03:02 Paul Jarc:
> Bennett Todd <[email protected]> wrote:
> > But it looks to me like simply setting the system-wide timezone to
> > "right/US/Eastern" rather than "US/Eastern" fixes the problem.
> 
> That, along with making sure /etc/leapsecs.dat is up to date, is all
> you need to do, I think.

If I may say so without sounding like a drooling idiot, would it be
perhaps appropriate to document this prominently in the neighborhood
of the clockspeed package? This package really does look like an
ntp-killer, a great piece of work, but new folks coming to use it do
need to be tipped off to this matter.

Does anyone else have any comments about other platforms, and how to
fix them?

> I don't know where the canonical source for /etc/leapsecs.dat is.

"Canonical" sounds like a toughie, but for whatever it's worth, the
one in <URL:http://cr.yp.to/clockspeed/clockspeed-0.62.tar.gz> is
identical to the one in <URL:http://cr.yp.to/libtai/leapsecs.dat>,
and they appear ``correct'' in the sense that with that file, my
system's clock as reported by TZ=right/... agrees with other
ntp-synced systems reporting with TZ=....

-Bennett
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE91AcaHZWg9mCTffwRAraPAKDZ256+jn5SfO6h1ZYKqVS9FusxUgCglTSn
FZqZT1a5vgM/AZaoXtbsLxk=
=r91n
-----END PGP SIGNATURE-----