With the switch to configure UTC from /etc/adjtime instead of
/etc/default/rcS, I'm having the following regression:

I've installed Xenial some months ago and it's fully updated.
Without customizing it, my /etc/adjtime reads:
0.0 0 0
0

The regression is this:
# timedatectl set-local-rtc 1
Failed to set local RTC: Failed to set RTC to local/UTC: Input/output error

I can work around the issue with two ways:
1) Completely delete /etc/adjtime. Then `timedatectl set-local-rtc 1` generates 
it, and `timedatectl set-local-rtc 0` deletes it with no errors.
2) Add "LOCAL" or "UTC" to the end of /etc/adjtime. Then again  `timedatectl 
set-local-rtc XXX` works as expected.

Am I supposed not to have that file?
Should I file a bug report against systemd so that it doesn't have parse errors 
if the LOCAL/UTC keyword is missing?

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

Title:
  migrate UTC setting from  /etc/default/rcS to adjtime

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/installation-guide/+bug/1541532/+subscriptions

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

Reply via email to