Gentoo: … has a modification time in the future
I'm currently playing again with Gentoo and I'm getting again the “One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future”-error. So here is some help, if you have the same little annoyance.
Here it was the case, that the file in /etc/conf.d and /etc/init.d had no timestamp (you can check with ls -lR
). You can solve this by a hearty touch /etc/{conf.d,init.d}/*; touch /etc/rc.conf
.
[ Solution found at forums.gentoo.org ]
Embassies
-
Very useful! Thanks!
-
No problem. I'm happy that such posts are really helping people.
-
Dieser Fehler kann auch auftreten wenn man ntp verwendet, jedoch in /etc/conf.d/clock UTC als Format verwendet. In diesem Fall hilft nur das setzen von local statt utc. Ich habe keine Ahnung warum oder wieso, aber bei mir hilft nur das...
-
Super Genial. Hat funktioniert. Danke!
-
the correct command would be:
find /etc/{conf.d,init.d} -type f -exec touch {} ; -
thank you!
-
@Pablo Fredrikson:
i don't think your command is correct. As first specifier "-type f" will exclude all directories like conf.d and init.d and secondly /etc/{conf.d,init.d} path will exclude /etc/rc.conf file.
Maybe a simple:
touch /etc/{init.d,conf.d} ; touch /etc/rc.conf
is a bit more correct.
Greetings
Alberto -
Ehm
i forgot: touch /etc/{init.d,conf.d}/* -
Anyway it looks like a baselayout bug:
http://bugs.gentoo.org/show_bug.cgi?id=135212
greetings
Alberto -
es kann auch sein, daß im Bios das Datum falsch eingestellt ist, so war es bei mir zumindest, das Datum stand bei 2000...
-
@Alex: Damit sowas nicht passiert, rate ich zur Installation des Paketes ntpdate und anschließend fügst du noch den ntp-client zum Boot-Runlevel hinzu. Dann synchronisiert sich der Rechner von der Uhrzeit her mit dem NTP Server, den du in der /etc/conf.d/ntp-client angegeben hast und du hast immer die 100%ig richtige Uhrzeit.
-
I've been wrestling with gentoo all tonight and all of last night too; this is by far the most straightforward answer I'd got, thank you very much!
-
It's still working. Thank you.
-
Hy...
tnx for the post... it was helpfull
Sasa -
Danke!
-
Danke Danke,
hat super funktioniert.
Kein einziger Fehler mehr!
Beste Grüße -
I keep coming back to your site whenever I do a Gentoo install...
Thanks :] -
thnx!!
Comment entry
Commenting isn't available anymore.
Trackback(s)
A trackback is a kind of a source link. If i was finding an interesting entry in another blog, that i am commenting in my own blog, i am linking to the original message via the trackback. Has someone commented one of my entries in his/her weblog, you can find this link here under trackbacks, too. More informations about trackback are in the Wikipedia for example.
Trackback URL: /trackback/gentoo--has-a-modification-time-in-the-future/