From: "Drake Donahue" <donahue95@comcast.net>
To: <gentoo-amd64@lists.gentoo.org>
Subject: Re: [gentoo-amd64] Problem with latest timezone update?
Date: Thu, 17 Jan 2008 10:24:48 -0500 [thread overview]
Message-ID: <001201c8591d$1b2a4da0$0200a8c0@iwillxp333> (raw)
In-Reply-To: 5bdc1c8b0801161737v5d1e71dfi89a3bf4f75e77e0f@mail.gmail.com
----- Original Message -----
From: "Mark Knecht" <markknecht@gmail.com>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Wednesday, January 16, 2008 8:37 PM
Subject: Re: [gentoo-amd64] Problem with latest timezone update?
> On Jan 16, 2008 4:56 PM, Drake Donahue <donahue95@comcast.net> wrote:
>>
>> ----- Original Message -----
>> From: "Steev Klimaszewski" <steev@gentoo.org>
>> To: <gentoo-amd64@lists.gentoo.org>
>> Sent: Wednesday, January 16, 2008 6:01 PM
>> Subject: Re: [gentoo-amd64] Problem with latest timezone update?
>>
>>
>> <snip>
>>
>> > Except that neither etc-update nor dispatch-conf touch
>> > the /etc/localtime file...
>> >
>>
>> True, but...
>> The files that are (maybe) affected directly by etc-update and/or
>> dispatch-conf are /etc/conf.d/clock and /etc/init.d/clock. ('maybe' is
>> used
>> because: an emerge update must have affected one or both files;
>> etc-update
>> and/or dispatch-conf must have been invoked by the user; the user must
>> have
>> chosen action that resulted in a change to one or both files.
>> /etc/conf.d/clock is the configuration file for /etc/init.d/clock.
>> When /etc/init.d/clock runs (normally at boot), /etc/conf.d/clock is
>> read.
>> If CLOCK="UTC" is not set in /etc/conf.d/clock,
>
> UTC was set...
Now CLOCK="LOCAL" ?
>
>> the option --localtime is
>> used and TBLURB="Local Time" is set.
>> The /etc/localtime file is a copy of one of the binary files in
>> /usr/share/zoneinfo made by the system installer
>
> installer == Mark, me the guy who built the system, correct?
yes.
>
>> initially; it is subject to
>> update by repeating the manual copy process anytime after system install.
>
> Which is what I did today to fix this problem.
>
>> Thus etc-update and/or dispatch-conf can't change localtime; but can
>> change
>> whether localtime runs or not.
>
> Humm...seems like what you say is true but doesn't explain how emerge
> -DuN system changed the file. It was clearly changed since I could
> look inside with vi and compare to the Los_Angeles file and see that
> they were clearly different...
>
Probably the previous /etc/localtime file was a copy of PST8PDT.
IIRC the geographic file names are relatively recent in origin.
If the old localtime had PST8PDT and the new had Los_Angeles in the few
readable characters the difference is explained.
Alternatively:
The start and end of US daylight savings time changed effective 2007-2008.
This resulted in an update to PST8PDT and its cousins ( to Los_Angeles and
its geographic cousins also, if they existed before the change). The
timezone-data ebuild also has a series of more recent bugfixes.
As Nicholas explains the /sys-libs/timezone-data update ebuild should have
updated /usr/share/zoneinfo files to new versions.
The /sys-libs/timezone-data update ebuild should then have copied the new
version of the file named in /etc/conf/clock's TIMEZONE= statement from
/usr/share/zoneinfo to /etc/localtime.
If it did not succeed in updating /etc/localtime because TIMEZONE= was
blank, invalid, or not set, the old /etc/localtime would have contained
readable characters: ' Local time zone must be set -- see zic manual page'.
> Thanks,
> Mark
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
--
gentoo-amd64@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-01-17 15:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 15:22 [gentoo-amd64] Problem with latest timezone update? Mark Haney
2008-01-15 16:45 ` Beso
2008-01-15 17:01 ` Drake Donahue
2008-01-16 13:09 ` Mark Haney
2008-01-16 17:49 ` Mark Knecht
2008-01-16 17:57 ` Mark Knecht
2008-01-16 19:33 ` Beso
2008-01-16 23:01 ` Steev Klimaszewski
2008-01-17 0:56 ` Drake Donahue
2008-01-17 1:37 ` Mark Knecht
2008-01-17 10:15 ` Nicolas Litchinko
2008-01-17 12:36 ` Peter Humphrey
2008-01-17 15:08 ` Mark Knecht
2008-01-17 15:53 ` Drake Donahue
2008-01-17 17:20 ` Drake Donahue
2008-01-17 20:02 ` Beso
2008-01-17 15:24 ` Drake Donahue [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001201c8591d$1b2a4da0$0200a8c0@iwillxp333' \
--to=donahue95@comcast.net \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox