[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: daylight savings time problem with potato?

Re potato seeming not to be handling EST correctly, I'm still confused,
but I have it working okay now (with some manual intervention) and have
more info ...

I noticed that when I use tzconfig to set timezone to EST5EDT it copies
file EST5EDT to /etc/localtime (rather than creating a link, as the doc
states).  That makes it a little hard to know which file is being used,
as there are multiple such files:

(all are perm -rw-r--r--, owner root:root, and dated Mar 7 14:17)
... 4 ... 1250 ... /usr/share/zoneinfo/EST5EDT
... 1 ... 1428 ... /usr/share/zoneinfo/SystemV/EST5EDT
... 3 ... 1250 ... /usr/share/zoneinfo/posix/EST5EDT
... 1 ... 1428 ... /usr/share/zoneinfo/posix/SystemV/EST5EDT
... 3 ... 1426 ... /usr/share/zoneinfo/right/EST5EDT
... 1 ... 1604 ... /usr/share/zoneinfo/right/SystemV/EST5EDT

Based on file size and diff'ing, tzconfig copies
/usr/share/zoneinfo/SystemV/EST5EDT.  As an experiment I manually copied
/usr/share/zoneinfo/EST5EDT instead.  The system now correctly reports:

$ date
Mon Apr  3 13:13:45 EDT 2000

Anyone know what's going on?  I only used tzconfig to set to EST5EDT
because I saw the problem; it was already set to that timezone.  FYI,
the system was not rebooted (uptime since last November), and it has
always handled the EST->EDT and EDT->EST transitions fine in the past
(running slink).

I have not messed with any of these files manually, and they all seem
to be coming from the same package:

$ dpkg -S EST5EDT
libc6: /usr/share/zoneinfo/posix/EST5EDT
libc6: /usr/share/zoneinfo/right/SystemV/EST5EDT
libc6: /usr/share/zoneinfo/EST5EDT
libc6: /usr/share/zoneinfo/SystemV/EST5EDT
libc6: /usr/share/zoneinfo/right/EST5EDT
libc6: /usr/share/zoneinfo/posix/SystemV/EST5EDT
$ dpkg -S tzconfig
libc6: /usr/share/man/man1/tzconfig.1.gz
libc6: /usr/sbin/tzconfig

Ideas?  Thanks!

On Mon, Apr 03, 2000 at 09:43:11AM -0500, Touloumtzis, Michael wrote:
> Arriving at work this morning I notice that my Debian box (running
> up-to-date potato) still thinks it's standard time.  A similarly
> configured RedHat 6.0 box reports daylight savings time.
> Am I missing something?
> # date
> Mon Apr  3 09:38:53 EST 2000
>            ^^^^^^^^^^^^
> # cat /etc/timezone
> SystemV/EST5EDT
> # hwclock --show
> Mon Apr  3 14:38:54 2000  -1.001596 seconds
> # grep ^UTC /etc/default/rcS
> UTC=yes

Michael E. Touloumtzis		mailto:toumi01@ca.com	-or-
Ingres Product Development	mailto:Michael.Touloumtzis@ca.com
Computer Associates International

Reply to: