
https://bugzilla.novell.com/show_bug.cgi?id=699400 https://bugzilla.novell.com/show_bug.cgi?id=699400#c0 Summary: Hardware clock never set on shutdown when ntp is active Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: seife@novell.slipkontur.de QAContact: qa@suse.de CC: werner@novell.com Found By: Third Party Developer/Partner Blocker: --- (This bug is also in 11.4) During shutdown, I always only see The System Time is in sync with Hardware Clock and hwclock is not set. The problem is IMHO in the ELEVENMIN_MODE code in /etc/init.d/boot.clock This test machine has a hw clock which is 1 hour off. For testing, I disabled ntp. strolchi:~ # adjtimex --print | grep status status: 64 In this case, ELEVENMIN_MODE == no and the clock is set on shutdown. Now I start ntp: strolchi:~ # /etc/init.d/ntp start 10 Jun 23:52:42 sntp[2883]: Started sntp 2011-06-10 23:52:42.303197 (-0100) -3599.902140 +/- 0.046265 secs Time synchronized with ntp.home.s3e.de Starting network time protocol daemon (NTPD) done strolchi:~ # adjtimex --print | grep status status: 8193 Now, ELEVENMIN_MODE == yes and the clock setting code is skipped on shutdown. So with the hwclock 1 hour off, this always leads to time warps during boot and th e hwclock is never corrected. I don't really understand the ELEVENMIN_MODE code, but it does not look too helpful. strolchi:~ # grep -v ^# /etc/sysconfig/clock HWCLOCK="-u" SYSTOHC="yes" TIMEZONE="Europe/Berlin" DEFAULT_TIMEZONE="US/Eastern" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.