Bug 704050 - whenever booting, system clock has late 9 hours as compared with hwclock.
Summary: whenever booting, system clock has late 9 hours as compared with hwclock.
Keywords:
Status: CLOSED DUPLICATE of bug 709211
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-12 00:18 UTC by sangu
Modified: 2012-01-24 14:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 14:18:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sangu 2011-05-12 00:18:43 UTC
Description of problem:
# hwclock --show
Thu May 12 09:09:35 2011  -0.954298 seconds
# LANG=C date
Thu May 12 00:09:37 KST 2011
# cat /etc/adjtime 
1.124043 1305134811 0.000000
1305134811
LOCAL
# rdate -s time.bora.net
#  date
Thu May 12 09:09:57 KST 2011

$ cat /etc/sysconfig/clock 
# The time zone of the system is defined by the contents of /etc/localtime.
# This file is only for evaluation by system-config-date, do not rely on its
# contents elsewhere.
ZONE="Asia/Seoul"

Version-Release number of selected component (if applicable):
26-1.fc15.x86_64

How reproducible:
every time

Steps to Reproduce:
1. booting
2. $ date
3. # rdate -s time.bora.net
4. reboot

Actual results:


Expected results:


Additional info:

# systemctl status hwclock-load.service
hwclock-load.service - Apply System Clock UTC Offset
	  Loaded: loaded (/lib/systemd/system/hwclock-load.service)
	  Active: active (exited) since Thu, 12 May 2011 08:50:30 +0900; 21min ago
	 Process: 538 ExecStart=/sbin/hwclock --systz (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/hwclock-load.service



$ rpm -q initscripts
initscripts-9.30-2.fc15.x86_64
$ rpm -q initscripts-legacy
initscripts-legacy-9.30-2.fc15.x86_64

Comment 1 sangu 2011-05-12 06:25:47 UTC
After disable hwclock-load.service, this issue doesn't happen.
# systemctl disable hwclock-load.service
# rdate -s time.bora.net
# hwclock -w

reboot

# LANG=C hwclock ; LANG=C date
Thu May 12 15:23:34 2011  -0.579182 seconds
Thu May 12 15:23:34 KST 2011

Comment 2 Michal Schmidt 2011-05-12 09:54:44 UTC
Looks like something else is calling "hwclock --systz" one more time...

initscripts-legacy ships /lib/udev/rules.d/88-clock.rules which may be it. Does the bug go away if you uninstall initscripts-legacy?

Comment 3 Tomasz Torcz 2011-05-25 11:52:08 UTC
Does your /etc/adjtime contain "UTC" or "LOCAL" in third line?

Comment 4 Michal Schmidt 2011-05-25 12:31:43 UTC
(In reply to comment #3)
> Does your /etc/adjtime contain "UTC" or "LOCAL" in third line?

/etc/adjtime is in comment #0:

> # cat /etc/adjtime 
> 1.124043 1305134811 0.000000
> 1305134811
> LOCAL

Comment 5 Fedora Admin XMLRPC Client 2011-10-20 16:27:11 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Jóhann B. Guðmundsson 2012-01-24 13:39:54 UTC
Is this still a problem or can this bug be closed?

Comment 7 Nicola Soranzo 2012-01-24 13:59:00 UTC
hwclock-load.service is no more in systemd since v28:

http://lists.freedesktop.org/archives/systemd-devel/2011-May/002526.html

So this no more a problem for Fedora 16, but it may still occur in F15.

Comment 8 Nicola Soranzo 2012-01-24 14:18:20 UTC

*** This bug has been marked as a duplicate of bug 709211 ***


Note You need to log in before you can comment on or make changes to this bug.