Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting rid of "mtimes differ" boot message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between keyboard and chair

PostPosted: Fri Jun 02, 2006 8:16 pm    Post subject: getting rid of "mtimes differ" boot message Reply with quote

many times, usually after some software updates, i get "mtimes differ" messages at boot time. that's not big deal (it doesn't prevent my system from booting), it's just annoying, and it slows down boot process a little bit.

there are several reasons for that (but honnestly i don't which ones) and there are different solutions to get rid of these messages. sometimes some works, others don't.

basically i combine both usual solutions in the following shell script (i'm no coder, so it's just copy&paste of stuff i found on the forums - credits : see below) :

Code:
for x in /etc/init.d/*; do [[ "$(file -b $x)" == *runscript*script* ]] && (echo $x; source /etc/conf.d/$(basename $x) &>/dev/null; svclib=/lib/rcscripts; depend(){ :;}; source $x); done;
depscan.sh -u;


you may save it in a file, i use "fix-mtimes-differ" as a name - how fun - and store in a folder that's part of $PATH, so i can quickly invoke it whenever it's required.

if ever "mtimes differ" messages still occur after running the script, you'll need to re-emerge baselayout :

Code:
emerge baselayout


thanks to ecatmur, SoylentGreen, or any other guy(s) who suggested these solutions first...
Back to top
View user's profile Send private message
Braempje
l33t
l33t


Joined: 31 Jan 2003
Posts: 748

PostPosted: Mon Jun 05, 2006 9:05 am    Post subject: Reply with quote

That's strange, I thought the official way was
Code:
depscan.sh -u

_________________
Dictionary of the Flemish Sign Language - Woordenboek Vlaamse Gebarentaal
Back to top
View user's profile Send private message
sean345
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2005
Posts: 103
Location: California

PostPosted: Tue Jun 06, 2006 1:45 am    Post subject: Reply with quote

Each time I get the mtimes error message, I've used this command:
Code:
touch /etc/init.d/*; /sbin/depscan.sh --update

It has always worked for me.

- Sean
_________________
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
Back to top
View user's profile Send private message
brazzmonkey
Guru
Guru


Joined: 16 Jan 2005
Posts: 372
Location: between keyboard and chair

PostPosted: Tue Jun 06, 2006 2:48 pm    Post subject: Reply with quote

from my own experience, a simple depscan.sh -u doesn't always work, so i thought a thread that summarizes the different ways of solving mtimes differ issues would be useful.

this is one of threads my post is based on.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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