[Bug 1440693] [NEW] installer does not corectly set /etc/default/rcS UTC variable if RTC clock uses UTC

zebul666 zebul666 at hotmail.com
Mon Apr 6 10:15:37 UTC 2015


Public bug reported:

When you perform an installation with Live CD (possibly other methods
too), you end up with a /etc/default/rcS file that is not properly set
if you have RTC clock set to UTC

The UTC variable in /etc/default/rcS is nonetheless set to no.

This leads to wrong time clock on boot until systemd-timesyncd and
ntpdate kick in. You might think this is not a problem but it is because
this cause the bug https://bugs.launchpad.net/bugs/1439445 for example

To fix this bug, it is just a matter of comparing the actual value
returned with RTC clock and the UTC time that one get from some ntp
server (given you have internet access).

this is not even a need for an external program for that; a simple line
of bash can do it

$ cat </dev/tcp/time.nist.gov/13
57118 15-04-06 10:13:10 50 0 0 890.6 UTC(NIST) *

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
Uname: Linux 3.19.0-12-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Apr  6 11:52:33 2015
InstallationDate: Installed on 2015-04-01 (4 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

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

Title:
  installer does not corectly set /etc/default/rcS UTC variable if RTC
  clock uses UTC

Status in ubiquity package in Ubuntu:
  New

Bug description:
  When you perform an installation with Live CD (possibly other methods
  too), you end up with a /etc/default/rcS file that is not properly set
  if you have RTC clock set to UTC

  The UTC variable in /etc/default/rcS is nonetheless set to no.

  This leads to wrong time clock on boot until systemd-timesyncd and
  ntpdate kick in. You might think this is not a problem but it is
  because this cause the bug https://bugs.launchpad.net/bugs/1439445 for
  example

  To fix this bug, it is just a matter of comparing the actual value
  returned with RTC clock and the UTC time that one get from some ntp
  server (given you have internet access).

  this is not even a need for an external program for that; a simple
  line of bash can do it

  $ cat </dev/tcp/time.nist.gov/13
  57118 15-04-06 10:13:10 50 0 0 890.6 UTC(NIST) *

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
  Uname: Linux 3.19.0-12-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr  6 11:52:33 2015
  InstallationDate: Installed on 2015-04-01 (4 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1440693/+subscriptions



More information about the foundations-bugs mailing list