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

Alkis Georgopoulos 1541532 at bugs.launchpad.net
Tue Feb 16 18:57:11 UTC 2016


Hi Martin,

I reported it here: https://github.com/systemd/systemd/issues/2638

We also need to fix this in the systemd packaging in Debian/Ubuntu:
# grep printf /var/lib/dpkg/info/systemd.postinst 
        printf "0.0 0 0.0\n0\nLOCAL" > /etc/adjtime

This is similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699554
and it should have a newline at the end:
        printf "0.0 0 0.0\n0\nLOCAL\n" > /etc/adjtime

Thanks!

** Bug watch added: Debian Bug tracker #699554
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699554

-- 
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