On 1/16/2012 09:56 PM, Alan Mackenzie wrote:
> Hi, everybody.
>
> I've finally become zic and tired of messages like
>
>     Tue Jan 17 02:48:28 Local time zone must be set--see zic manual page 2012 
> on tty14
>
> .  Trying to read man zic, my eyes just glaze over.  I "just" want my
> time to be GMT (or UTC or UCT, or whatever it's called these days).
> Surely I don't have to go through the palaver described in the zic
> manual page.
>
> Help, please!

I'm not sure what arch you're using, but the Installation manual has a part of
the answer for you.
I tend to avoid zic like I would avoid the plague, and use the Gentoo method of
changing settings.

For x86/amd64 systems (7.1.7):

  # ls /usr/share/zoneinfo (Suppose you want to use GMT) 
  # cp /usr/share/zoneinfo/GMT /etc/localtime

You also need to edit /etc/conf.d/hwclock (if you're using baselayout-2)
Specifically, you want to change the "clock=" line to the timezone you are
going to be using. 
There also used to be an /etc/timezone file that would have to be edited, as
well.  I think they removed
that file, but it has been a while since I changed my timezone.

After doing all this, you'd have to "source /etc/profile" in your active
shells, or just restart.  You may get some
errors about file times - especially when trying to emerge packages, and if the
dates would be in the future.
Not a problem if they're in the past.

Chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to