public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: nicolas@litchinko.fr (Nicolas Litchinko)
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Problem with latest timezone update?
Date: Thu, 17 Jan 2008 11:15:12 +0100	[thread overview]
Message-ID: <20080117101512.GA28923@litchinko.fr> (raw)
In-Reply-To: <5bdc1c8b0801161737v5d1e71dfi89a3bf4f75e77e0f@mail.gmail.com>

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



  reply	other threads:[~2008-01-17 10:15 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 [this message]
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

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=20080117101512.GA28923@litchinko.fr \
    --to=nicolas@litchinko.fr \
    --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