Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Timezone Problem on Fresh Installation [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sat May 19, 2007 10:15 pm    Post subject: Timezone Problem on Fresh Installation [solved] Reply with quote

Folks,

I just installed Gentoo on a new machine (using the Gentoo 2007.0 instructions). It seems that something weird is going on with the timezone setup.

The handbook states that the timezone must be set by:


  • Editing /etc/conf.d/clock
  • cp /usr/share/zoneinfo/<some file> /etc/localtime


When I do a uname -a, however, I get the following:

Code:
gentoo ~ # uname -a
Linux coffee 2.6.21-gentoo #1 SMP PREEMPT Sat May 19 13:24:03 Local time zone must be set-- i686 Intel(R) Xeon(TM) CPU 3.60GHz GenuineIntel GNU/Linux


Any ideas on what's going on?
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte


Last edited by Aurora on Sun May 20, 2007 1:40 am; edited 1 time in total
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Sat May 19, 2007 11:16 pm    Post subject: Reply with quote

The message that you see in uname is harmless, but if you want to avoid it, you need to setup the timezone stuff before compiling your kernel.
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sun May 20, 2007 1:00 am    Post subject: Reply with quote

I actually have set the timezone before the kernel compile, and I'm still getting the timezone message with a uname -a.
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Sun May 20, 2007 1:28 am    Post subject: Reply with quote

--

Last edited by 96140 on Fri Sep 13, 2013 9:21 am; edited 1 time in total
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sun May 20, 2007 1:35 am    Post subject: Reply with quote

nightmorph wrote:
I'll look into this. There were some changes made to the handbook; right now, the cp /usr/share/zoneinfo/ step is before emerging the kernel, but it's also necessary to edit /etc/conf.d/clock and define that same TIMEZONE within that file. At the moment, this is done just before rebooting, while editing all other conf.d/ files.


Ah, thanks nightmorph...this makes sense now. I'll try editing the clock configuration file before the kernel compile and seeing if that fixes everything up.

I'll update the thread shortly...
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sun May 20, 2007 1:37 am    Post subject: Reply with quote

Okay, looks like I was indeed changing the timezone in /etc/conf.d/clock before the kernel compile... I'm still seeing the "Local time zone must be set" message, however, on a uname -a.

btw, I'm pretty sure this strange behavior started in 2007.0.
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
Aurora
l33t
l33t


Joined: 26 Sep 2003
Posts: 658
Location: Classified

PostPosted: Sun May 20, 2007 1:40 am    Post subject: Reply with quote

Aurora wrote:
Okay, looks like I was indeed changing the timezone in /etc/conf.d/clock before the kernel compile... I'm still seeing the "Local time zone must be set" message, however, on a uname -a.

btw, I'm pretty sure this strange behavior started in 2007.0.


Oops, sorry all. It seems that editing the clock configuration file before the kernel compile does indeed get rid of the "Local time zone must be set" message.

Sorry for the confusion... :)
_________________
"My downfall raises me to infinite heights." -Napoleon Bonaparte
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum