Set Time & Date manually doesn't persist between reboots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Medium
|
Unassigned | ||
ubuntu-system-settings (Ubuntu) |
Invalid
|
Medium
|
Jonas G. Drange |
Bug Description
krillin rc-proposed 201
TEST CASE
Setup:
Make sure that the hardware clock and the system clock are in sync:
$ timedatectl set-ntp 1
$ sudo hwclock -w --noadjfile -u
Verify the time is correct on both clocks
$ timedatectl
Test Steps:
1. Disable ntp, check that clocks are in sync
$ timedatectl set-ntp 0
2. Set system clock to another date or time and verify that the clocks are set correctly to the new time
$ timedatectl set-time '03:00:00'
3. Note the real time on a watch or another system's clock and reboot
4. Upon reboot, check the time
Actual Result
- hardware clock is correct (manually set time plus the time elapsed since it has been set)
- system clock is wrong and set to the time it has been manually updated (with a difference of several minutes from real time)
- sudo dmesg | grep "system clock" shows that the kernel set the system clock correctly
Expected Results
- hardware and system clocks are in sync and both set to the time set manually.
= Original Description =
TEST ENV:
$ system-image-cli -i
current build number: 38
device name: krillin
channel: ubuntu-
last update: 2015-12-08 02:29:10
version version: 38
version ubuntu: 20151207.1
version device: 20150821-736d127
version custom: 20151111--36-46-viv
STEPS:
1.Go to system-settings / Date & time
2.Set "Set date and time" to "Manual"
3.Change current date & time (Dec 10, 9:30 AM) to new date & time (Dec 9, 13:30 PM)
4.Ensure that indicator updates to the new date/time
5.Reboot the phone
6.Go back to Date & time settings page and check
Actual result:
After rebooting, the setting is "Manual", but the date/time is the current date/time, not the one I set before
Expected result:
Should display the date/time set in Step 3.
Changed in ubuntu-system-settings (Ubuntu): | |
assignee: | nobody → Jonas G. Drange (jonas-drange) |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | Confirmed → Incomplete |
Changed in canonical-devices-system-image: | |
milestone: | ww02-2016 → ww08-2016 |
Changed in canonical-devices-system-image: | |
importance: | High → Medium |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 11 → backlog |
Changed in canonical-devices-system-image: | |
assignee: | John McAleely (john.mcaleely) → nobody |
Tried to reproduce on krillin with r38, and an arale with rc-proposed, bot worked as expected. The manually set time was retained after reboot.