Mailinglist Archive: opensuse (4288 mails)

< Previous Next >
Speaking of time?
  • From: Patrick <tracerb@xxxxxxxxxxxxxx>
  • Date: Thu, 9 May 2002 17:32:02 -0400
  • Message-id: <200205091732.02328.tracerb@xxxxxxxxxxxxxx>
Hi all,
Anthony brought up the subject of time/date being wrong on his mails,
but my problem is somewhat different. This seems to be a problem that
goes back to the 7.1 days! Each time I boot up, the system clock has
the wrong time and requires resetting. The bios clock is correct as I
have checked that already.

Going back to a previous mail when the problem showed up back in October
2001, it seems to be a bug in the /etc/rc.d/boot script which will
cause the system clock to NOT be set to the hardware clock on boot.
The bug has been around for quite some time it seems. The problem was
simple in that adding the full path to the hwclock command solved the
problem. The solution was to change the CLOCKCMD=hwclock in
/etc/rc.d/boot file to CLOCKCMD=/sbin/hwclock and for good measure also
adding /sbin/hwclock --hctosys in the /etc/rc.d/boot.local file!

First of all, I don't have the CLOCKCMD in my boot script any longer in
Suse 8. Is that now located somewhere else or not needed? Is there
some where else one should look to get the system clock to set to the
hardware clock? Would adding just the command to the boot.local script
fix the problem? Thanks for all help or suggestions.

Patrick
--
--- KMail v1.4 --- SuSE Linux Pro v8.0 ---
Registered Linux User #225206
Magic Page Products -- Amiga-SuSE-PC Sales & Service
URL: http://home.sprintmail.com/~tracerb



< Previous Next >
Follow Ups