Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant seem to set them time permanently
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Crooksey
Apprentice
Apprentice


Joined: 26 Apr 2006
Posts: 239
Location: Vatican City

PostPosted: Mon Oct 29, 2007 11:39 am    Post subject: Cant seem to set them time permanently Reply with quote

Whenever i turn on my laptop, before i can login im getting warning messages:

Code:

*One of the files in /etc/rc.conf or {/etc.conf.d,init.d/}
*has a time modification in the future


This mesage apperas at least 10 times on boot,

Code:

#/etc/localtime
TZif2GMTTZif2GMT
GMT0


Had a search, looked into hwclock, but setting the time with that dosent change anything really, any ideas?
Back to top
View user's profile Send private message
tgR10
Apprentice
Apprentice


Joined: 23 Oct 2007
Posts: 262
Location: caly ten ambaras

PostPosted: Mon Oct 29, 2007 12:42 pm    Post subject: Reply with quote

it's happening because you had wrong date before you change it to the correct one, and the file was modified in "the future"
just open it and save again should help
_________________
"bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg
Back to top
View user's profile Send private message
Crooksey
Apprentice
Apprentice


Joined: 26 Apr 2006
Posts: 239
Location: Vatican City

PostPosted: Mon Oct 29, 2007 2:37 pm    Post subject: Reply with quote

Nope. that didnt work.
Back to top
View user's profile Send private message
ianw1974
Guru
Guru


Joined: 18 Oct 2006
Posts: 387
Location: UK and Poland

PostPosted: Mon Oct 29, 2007 2:43 pm    Post subject: Reply with quote

I generally get this problem when Windows was setting the time, and Linux was configured for UTC as well, and there was a mix-match. Now, I let Windows do its thing, and set the clock to local in Linux. Of course, I'm not in the UK, but now it generally works fine. My BIOS clock runs two hours behind when I open the BIOS, but the time in Windows and Gentoo is fine.

Make sure your region is correct, Europe/London or whatever, and the time - set this in the BIOS, and then see how it goes from there after that.

Alternatively, check /etc/conf.d/clock and see how this is working to make sure you get the time correct - there is option here for syncing time to the BIOS when you shutdown, etc.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Oct 29, 2007 3:34 pm    Post subject: Reply with quote

For time, set up ntp.

For the complained-about files, identify them and touch them. Read "man find" regarding "mtime".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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