I added some debug output to /etc/init/hwclock.conf
While, according to dmesg, the kernel sets the system clock from the hardware 
clock:

$ sudo dmesg|grep "system clock"
[    2.257135] mt-rtc mt-rtc: setting system clock to 2015-12-14 02:00:36 UTC 
(1450058436)

the system clock is already incorrect when hwclock.conf runs:

+ . /etc/default/rcS
+ UTC=yes
+ [ yes = yes ]
+ tz=--utc
+ [  = yes ]
+ echo XXXXXXXXXX Before
XXXXXXXXXX Before
+ date
Mon Dec 14 09:43:14 UTC 2015
+ hwclock
Mon Dec 14 02:00:41 2015  -0.881525 seconds
+ exec hwclock --systz --utc --noadjfile

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524674

Title:
  Set Time & Date manually doesn't persist between reboots

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1524674/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to