Skip to content
Snippets Groups Projects
  1. Oct 15, 2014
  2. Oct 14, 2014
  3. Oct 11, 2014
  4. Oct 10, 2014
  5. Oct 09, 2014
    • Andreas Henriksson's avatar
      hwclock-set: use both systz and hctosys · 9e794f64
      Andreas Henriksson authored
      Ben Hutchings wrote:
      
      If you use NTP and tell the kernel to adjust the system time, that
      causes the kernel to periodically write the system time to the RTC too,
      because the system time will be more accurate.
      
      For hysterical raisins, the first call to settimeofday() that specifies
      a 'time zone' (local time offset) implicitly sets whether the RTC is
      supposed to hold local time or UTC: if the time value is unspecified and
      the time offset is non-zero then the RTC holds local time, otherwise it
      holds UTC.  There is no way to change this later!
      
      'hwclock --hctosys' specifies both time value and time offset, and
      therefore implicitly configures the RTC to hold UTC (but only when NTP
      is used and it is written periodically by the kernel).
      
      So we absolutely have to run 'hwclock --systz' first.  We could *also*
      run 'hwclock --hctosys' straight after that.
      
      Closes: #764552
      Thanks: Ben Hutchings for debugging this.
      9e794f64
    • Andreas Henriksson's avatar
      Revert "Revert "Set system time directly ..."" · 3d21d316
      Andreas Henriksson authored
      This reverts commit 90a49d45.
      
      A suggested fix for this fix has been proposed, lets try that
      first.
      3d21d316
  6. Oct 07, 2014
  7. Oct 06, 2014
  8. Oct 05, 2014
  9. Oct 04, 2014
  10. Oct 03, 2014
  11. Sep 30, 2014
    • Andreas Henriksson's avatar
      Attempt to stop uuidd before usermod in postinst · 63901a32
      Andreas Henriksson authored
      If there is a running uuidd while executing the usermod command it will
      error out. Attempt to stop it and hope that it doesn't get (socket)
      activated before we get a chance to run the usermod command.
      (Also hope that there are no other running processes under this
      user for some funky reason.)
      This should atleast catch most cases. Please note that uuidd is
      not getting restarted.... Hopefully it'll get socket activated
      if really needed. Also libuuid still should work even if uuidd is
      not running. The user rename should happen so rarely that this should
      not be an issue. Patches to improve this welcome.
      
      LP: #1374648
      63901a32
  12. Sep 29, 2014
  13. Sep 25, 2014
  14. Sep 08, 2014
  15. Sep 07, 2014
  16. Sep 03, 2014
Loading