From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Problem with latest timezone update?
Date: Thu, 17 Jan 2008 07:08:52 -0800 [thread overview]
Message-ID: <5bdc1c8b0801170708p6524b12aw5ad04ced9af43cc1@mail.gmail.com> (raw)
In-Reply-To: <20080117101512.GA28923@litchinko.fr>
On Jan 17, 2008 2:15 AM, Nicolas Litchinko <nicolas@litchinko.fr> wrote:
> Hi,
>
> On Wed, Jan 16, 2008 at 05:37:21PM -0800, Mark Knecht wrote:
> > On Jan 16, 2008 4:56 PM, Drake Donahue <donahue95@comcast.net> wrote:
> > > 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...
>
> There's a variable in /etc/conf.d/clock that controls whether or not
> /etc/localtime should be updated when a new version of
> sys-libs/timezone-data is merged: TIMEZONE. If this variable is set, the
> specified timezone data file is copied over /etc/localtime.
>
> as you can read in /etc/conf.d/clock:
> # Select the proper timezone. For valid values, peek inside of the
> # /usr/share/zoneinfo/ directory. For example, some common values are
> # "America/New_York" or "EST5EDT" or "Europe/Berlin". If you want to
> # manage /etc/localtime yourself, set this to "".
>
> If TIMEZONE is not set, /etc/localtime is not updated by
> sys-libs/timezone-data. However, if TIMEZONE is set to an invalid value,
> then /etc/localtime is overwritten by the "Factory" timezone data file.
>
> etc-update has probably changed the value of this variable after a
> baselayout update. Then a timezone-data update used the wrong value to
> update /etc/localtime. In your, case, the value of TIMEZONE should be
> TIMEZONE="America/Los_Angeles".
>
> --
> Nicolas Litchinko
> BOFH excuse #348:
> We're on Token Ring, and it looks like the token got loose.
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
>
OK, I buy it. My setup was missing the underscore:
dragonfly ~ # cat /etc/conf.d/clock | grep TIMEZONE
TIMEZONE="America/LosAngeles"
dragonfly ~ #
However time on the machine has been fine for the 2 years we've had
the machine. Has this been wrong the whole time and I jsut got lucky
or did someone possibly change the formatting?
Thanks for the clarification!
Cheers,
Mark
--
gentoo-amd64@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-01-17 15:09 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 [this message]
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
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=5bdc1c8b0801170708p6524b12aw5ad04ced9af43cc1@mail.gmail.com \
--to=markknecht@gmail.com \
--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