public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Persistent "modification time in the future"
@ 2011-03-27 21:14 Alexey Mishustin
  2011-03-27 21:22 ` Volker Armin Hemmann
  2011-03-27 21:26 ` Alex Schuster
  0 siblings, 2 replies; 8+ messages in thread
From: Alexey Mishustin @ 2011-03-27 21:14 UTC (permalink / raw
  To: gentoo-user

Hello,

I performed the system update today (emerge -uND @world), and now I get  errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a modification time in the future!" at boot.

If I do
touch /tmp/tmp.file
find /etc -newer /tmp/temp.file

I get
/etc/
/etc/adjtime
/etc/mtab

Then I do
ls -l / | grep etc

and get
drwxr-xr-x 42 root root	4096 Mar 28	2011 etc

Evidently, there is no time of modification that should be the reason of the error.

There is the same situation with /etc/adjtime and /etc/mtab (no time).

I tried to do
find /etc -newer /tmp/temp.file -exec touch {} \;

But it doesn't help. Dates appear but only till I reboot. After reboot I get the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab - have no time of modification anymore.

What can be the problem?

During the system update I updated 3 packages: dev-libs/mpfr, media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff, sys-kernel/gentoo-sources (added some flags), emerged mailx.

--
Regards,
Alex





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:14 [gentoo-user] Persistent "modification time in the future" Alexey Mishustin
@ 2011-03-27 21:22 ` Volker Armin Hemmann
  2011-03-27 21:41   ` Alexey Mishustin
  2011-03-27 21:26 ` Alex Schuster
  1 sibling, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2011-03-27 21:22 UTC (permalink / raw
  To: gentoo-user

On Monday 28 March 2011 01:14:05 Alexey Mishustin wrote:
> Hello,
> 
> I performed the system update today (emerge -uND @world), and now I get 
> errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a
> modification time in the future!" at boot.
> 
> If I do
> touch /tmp/tmp.file
> find /etc -newer /tmp/temp.file
> 
> I get
> /etc/
> /etc/adjtime
> /etc/mtab
> 
> Then I do
> ls -l / | grep etc
> 
> and get
> drwxr-xr-x 42 root root	4096 Mar 28	2011 etc
> 
> Evidently, there is no time of modification that should be the reason of the
> error.
> 
> There is the same situation with /etc/adjtime and /etc/mtab (no time).
> 
> I tried to do
> find /etc -newer /tmp/temp.file -exec touch {} \;
> 
> But it doesn't help. Dates appear but only till I reboot. After reboot I get
> the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab
> - have no time of modification anymore.
> 
> What can be the problem?
> 
> During the system update I updated 3 packages: dev-libs/mpfr,
> media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff,
> sys-kernel/gentoo-sources (added some flags), emerged mailx.
> 
> --
> Regards,
> Alex

check your clocks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:14 [gentoo-user] Persistent "modification time in the future" Alexey Mishustin
  2011-03-27 21:22 ` Volker Armin Hemmann
@ 2011-03-27 21:26 ` Alex Schuster
  2011-03-27 21:46   ` Alexey Mishustin
  1 sibling, 1 reply; 8+ messages in thread
From: Alex Schuster @ 2011-03-27 21:26 UTC (permalink / raw
  To: gentoo-user

Alexey Mishustin writes:

> I performed the system update today (emerge -uND @world), and now I
> get  errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf
> has a modification time in the future!" at boot.
[...]
> I get
> /etc/
> /etc/adjtime
> /etc/mtab
[...]
> But it doesn't help. Dates appear but only till I reboot. After
> reboot I get the same error and the same three elements - /etc/,
> /etc/adjtime, /etc/mtab - have no time of modification anymore.
> 
> What can be the problem?

Maybe hardware and software clock are not in sync. Look at
/etc/init.d/hwclock, and maybe call hwclock --systohc manually.
Or someting like this.

	Wonko



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:22 ` Volker Armin Hemmann
@ 2011-03-27 21:41   ` Alexey Mishustin
  2011-03-27 21:53     ` Alexey Mishustin
  2011-03-27 21:57     ` Volker Armin Hemmann
  0 siblings, 2 replies; 8+ messages in thread
From: Alexey Mishustin @ 2011-03-27 21:41 UTC (permalink / raw
  To: gentoo-user

28 марта 2011 г., 1:22:27, Volker Armin Hemmann пишет:

> On Monday 28 March 2011 01:14:05 Alexey Mishustin wrote:
>> Hello,

>> I performed the system update today (emerge -uND @world), and now I get 
>> errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a
>> modification time in the future!" at boot.

>> If I do
>> touch /tmp/tmp.file
>> find /etc -newer /tmp/temp.file

>> I get
>> /etc/
>> /etc/adjtime
>> /etc/mtab

>> Then I do
>> ls -l / | grep etc

>> and get
>> drwxr-xr-x 42 root root       4096 Mar 28     2011 etc

>> Evidently, there is no time of modification that should be the reason of the
>> error.

>> There is the same situation with /etc/adjtime and /etc/mtab (no time).

>> I tried to do
>> find /etc -newer /tmp/temp.file -exec touch {} \;

>> But it doesn't help. Dates appear but only till I reboot. After reboot I get
>> the same error and the same three elements - /etc/, /etc/adjtime, /etc/mtab
>> - have no time of modification anymore.

>> What can be the problem?

>> During the system update I updated 3 packages: dev-libs/mpfr,
>> media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff,
>> sys-kernel/gentoo-sources (added some flags), emerged mailx.

>> --
>> Regards,
>> Alex

> check your clocks.

You were absolutely right, the problem was here. My clock was 10 minutes slow.

I did
/etc/init.d/net-client restart

, rebooted, and got nothing error.

But how my clock could get slow if I have ntp-client autoloading at default level?

--
Regards,
Alex




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:26 ` Alex Schuster
@ 2011-03-27 21:46   ` Alexey Mishustin
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Mishustin @ 2011-03-27 21:46 UTC (permalink / raw
  To: gentoo-user

28 марта 2011 г., 1:26:28, Alex Schuster пишет:

> Alexey Mishustin writes:

>> I performed the system update today (emerge -uND @world), and now I
>> get  errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf
>> has a modification time in the future!" at boot.
> [...]
>> I get
>> /etc/
>> /etc/adjtime
>> /etc/mtab
> [...]
>> But it doesn't help. Dates appear but only till I reboot. After
>> reboot I get the same error and the same three elements - /etc/,
>> /etc/adjtime, /etc/mtab - have no time of modification anymore.

>> What can be the problem?

> Maybe hardware and software clock are not in sync. Look at
> /etc/init.d/hwclock, and maybe call hwclock --systohc manually.
> Or someting like this.

I don't have hwclock in /etc/init.d/...
hwclock --show shown the correct time (-0.000000 seconds)

--
Regards,
Alex




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:41   ` Alexey Mishustin
@ 2011-03-27 21:53     ` Alexey Mishustin
  2011-03-27 21:57     ` Volker Armin Hemmann
  1 sibling, 0 replies; 8+ messages in thread
From: Alexey Mishustin @ 2011-03-27 21:53 UTC (permalink / raw
  To: gentoo-user

> I did
> /etc/init.d/net-client restart
/etc/init.d/ntp-client restart

> , rebooted, and got nothing error.

--
Regards,
Alex




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:41   ` Alexey Mishustin
  2011-03-27 21:53     ` Alexey Mishustin
@ 2011-03-27 21:57     ` Volker Armin Hemmann
  2011-03-28 21:02       ` Alexey Mishustin
  1 sibling, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2011-03-27 21:57 UTC (permalink / raw
  To: gentoo-user

On Monday 28 March 2011 01:41:39 Alexey Mishustin wrote:
> 28 марта 2011 г., 1:22:27, Volker Armin Hemmann пишет:
> > On Monday 28 March 2011 01:14:05 Alexey Mishustin wrote:
> >> Hello,
> >> 
> >> I performed the system update today (emerge -uND @world), and now I
> >> get
> >> errors "One of the files in /etc/{conf.d,init.d} or /etc/rc.conf has a
> >> modification time in the future!" at boot.
> >> 
> >> If I do
> >> touch /tmp/tmp.file
> >> find /etc -newer /tmp/temp.file
> >> 
> >> I get
> >> /etc/
> >> /etc/adjtime
> >> /etc/mtab
> >> 
> >> Then I do
> >> ls -l / | grep etc
> >> 
> >> and get
> >> drwxr-xr-x 42 root root       4096 Mar 28     2011 etc
> >> 
> >> Evidently, there is no time of modification that should be the reason
> >> of the error.
> >> 
> >> There is the same situation with /etc/adjtime and /etc/mtab (no time).
> >> 
> >> I tried to do
> >> find /etc -newer /tmp/temp.file -exec touch {} \;
> >> 
> >> But it doesn't help. Dates appear but only till I reboot. After reboot
> >> I get the same error and the same three elements - /etc/,
> >> /etc/adjtime, /etc/mtab - have no time of modification anymore.
> >> 
> >> What can be the problem?
> >> 
> >> During the system update I updated 3 packages: dev-libs/mpfr,
> >> media-fonts/dejavu, sys-apps/util-linux, recompiled 2: sys-apps/groff,
> >> sys-kernel/gentoo-sources (added some flags), emerged mailx.
> >> 
> >> --
> >> Regards,
> >> Alex
> > 
> > check your clocks.
> 
> You were absolutely right, the problem was here. My clock was 10 minutes
> slow.
> 
> I did
> /etc/init.d/net-client restart
> 
> , rebooted, and got nothing error.
> 
> But how my clock could get slow if I have ntp-client autoloading at default
> level?

just two of guesses:
you don't sync the resulting correct clock to hwclock
or
/etc/adjtime is full of crap. If this happens again, remove that file.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Persistent "modification time in the future"
  2011-03-27 21:57     ` Volker Armin Hemmann
@ 2011-03-28 21:02       ` Alexey Mishustin
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Mishustin @ 2011-03-28 21:02 UTC (permalink / raw
  To: gentoo-user

28 марта 2011 г., 1:57:34, Volker Armin Hemmann пишет:

> just two of guesses:
> you don't sync the resulting correct clock to hwclock
> or
> /etc/adjtime is full of crap. If this happens again, remove that file.

28 марта 2011 г., 1:26:28, Alex Schuster пишет:

> Maybe hardware and software clock are not in sync. Look at
> /etc/init.d/hwclock, and maybe call hwclock --systohc manually.
> Or someting like this.

As I have ntp-client installed, I decided to synchronize
hwclock with sysclock by changing /etc/conf.d/clock:

CLOCK_SYSTOHC="yes"

So far, both clocs are OK.

Thank you, Volker Armin, Alex.

--
Regards,
Alex




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-28 21:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27 21:14 [gentoo-user] Persistent "modification time in the future" Alexey Mishustin
2011-03-27 21:22 ` Volker Armin Hemmann
2011-03-27 21:41   ` Alexey Mishustin
2011-03-27 21:53     ` Alexey Mishustin
2011-03-27 21:57     ` Volker Armin Hemmann
2011-03-28 21:02       ` Alexey Mishustin
2011-03-27 21:26 ` Alex Schuster
2011-03-27 21:46   ` Alexey Mishustin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox