| View previous topic :: View next topic |
| Author |
Message |
otisranson Apprentice

Joined: 17 May 2007 Posts: 188
|
Posted: Mon Aug 20, 2007 7:02 pm Post subject: Need to update /etc/{init.d, conf.d} warning message[solved] |
|
|
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 |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Mon Aug 20, 2007 7:17 pm Post subject: |
|
|
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 |
|
 |
adsmith Veteran

Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
|
| Back to top |
|
 |
didymos Advocate


Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Mon Aug 20, 2007 7:23 pm Post subject: |
|
|
What is your hardware clock set to? UTC or your local time? _________________ Thomas S. Howard |
|
| Back to top |
|
 |
embobo Guru

Joined: 19 May 2003 Posts: 311
|
Posted: Mon Aug 20, 2007 7:28 pm Post subject: |
|
|
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 |
|
 |
otisranson Apprentice

Joined: 17 May 2007 Posts: 188
|
Posted: Mon Aug 20, 2007 7:29 pm Post subject: |
|
|
Thanks for the quick responses. And the references I'll be more descriptive next time.
Yes. UTC time. |
|
| Back to top |
|
 |
didymos Advocate


Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Mon Aug 20, 2007 7:32 pm Post subject: |
|
|
| 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 |
|
 |
otisranson Apprentice

Joined: 17 May 2007 Posts: 188
|
Posted: Mon Aug 20, 2007 7:49 pm Post subject: |
|
|
| I found all of the files and did the touch command, still getting the warning. |
|
| Back to top |
|
 |
embobo Guru

Joined: 19 May 2003 Posts: 311
|
Posted: Mon Aug 20, 2007 9:11 pm Post subject: |
|
|
| 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:
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 |
|
 |
|