[Bug 1541532] Re: migrate UTC setting from /etc/default/rcS to adjtime

bzipitidoo bzipitidoo at gmail.com
Fri May 13 20:35:18 UTC 2016


A few days ago, I upgraded a dual boot system from Lubuntu 15.10 to
16.04, and could not get the system to accept that the clock was set to
the local timezone, not UTC.  The upgrade stripped the UTC setting from
/etc/default/rcS:

# assume that the BIOS clock is set to UTC time (recommended)
UTC=no

I put the UTC variable setting back in /etc/default/rcS, as advised many
search results on this problem, and it had no effect.  Now I find this
bug report.  Checking, my system had no /etc/adjtime file.  Shouldn't
this file have been created during the upgrade?  It was created when I
ran "timedatectl set-local-rtc 1" manually.

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

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

Status in installation-guide package in Ubuntu:
  Fix Released
Status in lupin package in Ubuntu:
  Fix Released
Status in mbr package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  Fix Released
Status in sysvinit package in Ubuntu:
  Fix Released
Status in util-linux package in Ubuntu:
  Fix Released
Status in mbr package in Debian:
  New

Bug description:
  This has been an Ubuntu delta in systemd and perhaps other Ubuntu
  packages for a long time. But /etc/default/rcS is a SysV-ism, and no
  other setting in there is relevant. Steps:

   * Bump the version guard in systemd.conf for migrating the actual setting (keep until 16.04 LTS)
   * Ensure that we only look at the LOCAL setting during boot, and do no actual drift correction at boot, as the kernel does that by itself.
   * grep the archive for software which might directly look at or even write that file (Ubuntu specific config tools and the like).

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



More information about the foundations-bugs mailing list