Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Baselayout 1.11.3-r1 and modification time problem
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
radub
n00b
n00b


Joined: 23 Feb 2005
Posts: 25

PostPosted: Thu Jan 05, 2006 7:43 am    Post subject: [SOLVED] Baselayout 1.11.3-r1 and modification time problem Reply with quote

I've just updated my system to baselayout 1.11.3-r1, used dispatch-conf to update my config files, and didn't reboot after. One hour or so later, my system crashed and I had a lot of errors at boot on / which is an ext3 fs. I had to fsck manually.
Now I get this recurring message after every line in init:
Code:
Some files in /etc/{conf.d,init.d} have modification time in the future
Caching service dependencies                                                          [OK]

And on top of this, I have to boot TWICE to make it work! First time init stops at /sbin/depscan.sh and drops me to the console; after rebooting, the journals on my partitions are recovered, then it boots almost normally, with the message above after every init line.
I did touch -m -t 200601041200 on every /etc file that was updated by baselayout, but it didn't helped at all. I've seen some problems w. baselayout and modification time on this forum, but they're not quite as mine.
What could be the problem?


Last edited by radub on Thu Jan 26, 2006 6:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Jan 05, 2006 7:48 am    Post subject: Reply with quote

Your date could be wrong. What is the output of 'date'?
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
radub
n00b
n00b


Joined: 23 Feb 2005
Posts: 25

PostPosted: Thu Jan 05, 2006 9:03 am    Post subject: Reply with quote

date shows me the current time, as i use ntp at boot to set the clock.
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 322

PostPosted: Mon Jan 09, 2006 3:13 pm    Post subject: Reply with quote

Hm. I have a similar problem. with baselayout > 1.12.0_pre13 my pc boots, than reboots (messages says that it enters runlevel 0), and then boots normal. This is with my athlon-xp and also with an intel nocona from a friend. werid...
Back to top
View user's profile Send private message
radub
n00b
n00b


Joined: 23 Feb 2005
Posts: 25

PostPosted: Mon Jan 09, 2006 9:42 pm    Post subject: Reply with quote

I'll just add an error that I catched while trying to figure out what's wrong:
At the first boot attempt, when it crashes at depscan.sh, it says something about being unable to create symlinks from /var/lib/init.d/* to/etc/init.d/, because the filesystem is mounted read-only. The filesystem that includes both /var and /etc was supposed to be mounted rw already (as seen on display). And there's no symlinks in /etc/init.d, and I never had any.
While trying to reboot, the filesystem (ext3fs) is badly corrupted and needs to be fsck-ed manually from the prompt, in order to boot (actually, that makes me boot THREE times in order to use the system).
Back to top
View user's profile Send private message
Saillord
n00b
n00b


Joined: 09 Mar 2004
Posts: 35
Location: Bremen/Germany

PostPosted: Thu Jan 19, 2006 10:45 pm    Post subject: that fixed it for me Reply with quote

Moin&Salut,

searching for a solution for my system I found this thread:

https://forums.gentoo.org/viewtopic-t-413154-start-0-postdays-0-postorder-asc-highlight-config+future.html



more concret this fixed it for me (after syncing with a ntp-server):

Quote:
you probably just need to set the date (date --help) then sync the hardware clock to gentoo system time.


Code:
hwclock --systohc



Saludo - Rapha
_________________
il n'y a pas de vent favorable pour celui qui ne sait pas où il va
Back to top
View user's profile Send private message
Saillord
n00b
n00b


Joined: 09 Mar 2004
Posts: 35
Location: Bremen/Germany

PostPosted: Fri Jan 20, 2006 1:25 am    Post subject: another try Reply with quote

I don't know if you meanwhile found already a solution, but my foregoing hint seemed to be wrong, so I googled another bit and found that (what is quite plausible for me having touched the time-settings during the last emerge-process - never ever again;-)

see here: http://www.gentooforum.de/post/50532/lastpost.html#post50532

go to /etc and touch all files so that they become the actual date overwriting the wrong one in the future:

Code:

etc # touch -r *
# touch -r  /etc/init.d/*
# touch -r  /etc/conf.d/*



Ciao - Rapha
_________________
il n'y a pas de vent favorable pour celui qui ne sait pas où il va
Back to top
View user's profile Send private message
radub
n00b
n00b


Joined: 23 Feb 2005
Posts: 25

PostPosted: Thu Jan 26, 2006 6:33 pm    Post subject: [solved] Reply with quote

I've solved the problem by upgrading baselayout to 1.12.0_pre15-r1.
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