Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need to update /etc/{init.d, conf.d} warning message[solved]
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
otisranson
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 188

PostPosted: Mon Aug 20, 2007 7:02 pm    Post subject: Need to update /etc/{init.d, conf.d} warning message[solved] Reply with quote

I'm getting this warning every so often when working in the console. I've ran etc-update and nothing needs to be updated.

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


So annoying. When I boot my computer up, I'm seeing that warning after EACH line. Also I can't seem to get my clock set correctly. I want to use the America/New_York time. Any help with these two problems would be great!


Last edited by otisranson on Thu Aug 23, 2007 6:55 pm; edited 3 times in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 6609

PostPosted: Mon Aug 20, 2007 7:17 pm    Post subject: Reply with quote

See ntp on gentoo wiki.

As for using America/New_York - what's stopping you? Set TIMEZONE in /etc/conf.d/clock

Use a descriptive subject - I would normally skip over such stupidly generic, childish subjects.


Last edited by PaulBredbury on Mon Aug 20, 2007 7:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Mon Aug 20, 2007 7:18 pm    Post subject: Reply with quote

also,
http://forums.gentoo.org/viewtopic-t-576996-start-0-postdays-0-postorder-asc-highlight-modification+future.html
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 20, 2007 7:23 pm    Post subject: Reply with quote

What is your hardware clock set to? UTC or your local time?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
embobo
Guru
Guru


Joined: 19 May 2003
Posts: 311

PostPosted: Mon Aug 20, 2007 7:28 pm    Post subject: Reply with quote

Does this yield any output:

Code:

find /etc/{conf.d,init.d} /etc/rc.conf -mtime -0


If so those files have mtimes in the future and you should "touch" them.
Back to top
View user's profile Send private message
otisranson
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 188

PostPosted: Mon Aug 20, 2007 7:29 pm    Post subject: Reply with quote

Thanks for the quick responses. And the references I'll be more descriptive next time.

Yes. UTC time.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Mon Aug 20, 2007 7:32 pm    Post subject: Reply with quote

PaulBredbury wrote:
Use a descriptive subject - I would normally skip over such stupidly generic, childish subjects.


You can request more descriptive subjects without the supercilious editorializing, you know. How about this:

otisranson, a lot of people tend to skip over generic subjects like that. Use something more descriptive, and you'll probably get a much better response.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
otisranson
Apprentice
Apprentice


Joined: 17 May 2007
Posts: 188

PostPosted: Mon Aug 20, 2007 7:49 pm    Post subject: Reply with quote

I found all of the files and did the touch command, still getting the warning.
Back to top
View user's profile Send private message
embobo
Guru
Guru


Joined: 19 May 2003
Posts: 311

PostPosted: Mon Aug 20, 2007 9:11 pm    Post subject: Reply with quote

otisranson wrote:
I found all of the files and did the touch command, still getting the warning.


Then you probably need to sync your hardware clock to system time. In /etc/conf.d/clock:

Code:

CLOCK_SYSTOHC="yes"


These two commands should result in the same time:

Code:

date
hwclock --utc


If not run

Code:

hwclock --systohc --utc


and set up NTP as well.

Maybe your hw clock doesn't work. Maybe you boot into windows and it trounces your hw clock.
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