1 |
On Monday 28 March 2011 01:41:39 Alexey Mishustin wrote: |
2 |
> 28 марта 2011 г., 1:22:27, Volker Armin Hemmann пишет: |
3 |
> > On Monday 28 March 2011 01:14:05 Alexey Mishustin wrote: |
4 |
> >> Hello, |
5 |
> >> |
6 |
> >> I performed the system update today (emerge -uND @world), and now I |
7 |
> >> get |
8 |
> >> errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a |
9 |
> >> modification time in the future!" at boot. |
10 |
> >> |
11 |
> >> If I do |
12 |
> >> touch /tmp/tmp.file |
13 |
> >> find /etc -newer /tmp/temp.file |
14 |
> >> |
15 |
> >> I get |
16 |
> >> /etc/ |
17 |
> >> /etc/adjtime |
18 |
> >> /etc/mtab |
19 |
> >> |
20 |
> >> Then I do |
21 |
> >> ls -l / | grep etc |
22 |
> >> |
23 |
> >> and get |
24 |
> >> drwxr-xr-x 42 root root 4096 Mar 28 2011 etc |
25 |
> >> |
26 |
> >> Evidently, there is no time of modification that should be the reason |
27 |
> >> of the error. |
28 |
> >> |
29 |
> >> There is the same situation with /etc/adjtime and /etc/mtab (no time). |
30 |
> >> |
31 |
> >> I tried to do |
32 |
> >> find /etc -newer /tmp/temp.file -exec touch {} \; |
33 |
> >> |
34 |
> >> But it doesn't help. Dates appear but only till I reboot. After reboot |
35 |
> >> I get the same error and the same three elements - /etc/, |
36 |
> >> /etc/adjtime, /etc/mtab - have no time of modification anymore. |
37 |
> >> |
38 |
> >> What can be the problem? |
39 |
> >> |
40 |
> >> During the system update I updated 3 packages: dev-libs/mpfr, |
41 |
> >> media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff, |
42 |
> >> sys-kernel/gentoo-sources (added some flags), emerged mailx. |
43 |
> >> |
44 |
> >> -- |
45 |
> >> Regards, |
46 |
> >> Alex |
47 |
> > |
48 |
> > check your clocks. |
49 |
> |
50 |
> You were absolutely right, the problem was here. My clock was 10 minutes |
51 |
> slow. |
52 |
> |
53 |
> I did |
54 |
> /etc/init.d/net-client restart |
55 |
> |
56 |
> , rebooted, and got nothing error. |
57 |
> |
58 |
> But how my clock could get slow if I have ntp-client autoloading at default |
59 |
> level? |
60 |
|
61 |
just two of guesses: |
62 |
you don't sync the resulting correct clock to hwclock |
63 |
or |
64 |
/etc/adjtime is full of crap. If this happens again, remove that file. |