Bug #9363

Disable hwclock-save.service on Jessie

Added by intrigeri 2015-05-09 14:43:54 . Updated 2015-07-08 05:22:57 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

systemd (215-13)’s debian/changelog entry says:

   * Add hwclock-save.service to sync the system clock to the hardware clock on
     shutdown, to provide monotonic time for reboots. (Note: this is a hack for
     jessie; the next Debian release will enable timesyncd by default).
     (Closes: #755722)

We need to disable that, as per our design goal to avoid leaving traces on the hardware being used, as much as possible.

For more information, see https://bugs.debian.org/755722. (And interestingly, there we learn that under sysvinit (Wheezy), util-linux’s hwclock.sh is supposed to “overwrite the RTC with the system clock partway through the shutdown”, so that’s not exactly a regression against Tails/Wheezy, but rather a problem we already had. Will file a dedicated ticket about it.)


Subtasks


Related issues

Related to Tails - Bug #9364: Do not set the hardware clock to the system time on shutdown Resolved

History

#1 Updated by BitingBird 2015-05-09 15:39:49

  • related to Bug #9364: Do not set the hardware clock to the system time on shutdown added

#2 Updated by sajolida 2015-05-20 12:16:38

  • Status changed from Confirmed to In Progress

Applied in changeset commit:5a9afc914603101be33630bf4461532873ee9665.

#3 Updated by BitingBird 2015-05-20 12:44:56

  • Status changed from In Progress to Confirmed

#4 Updated by intrigeri 2015-05-20 12:52:24

  • Status changed from Confirmed to In Progress

> Applied in changeset commit:5a9afc914603101be33630bf4461532873ee9665.

sajolida, I think you meant Feature #9383 in that commit.

#5 Updated by intrigeri 2015-07-08 04:52:43

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:764823c0395250215d19033ca7d3739c4ef560e2.

#6 Updated by intrigeri 2015-07-08 04:58:20

  • Assignee deleted (intrigeri)

#7 Updated by intrigeri 2015-07-08 05:22:57

Indeed, without this change Scenario: The system time is not synced to the hardware clock and Scenario: Anti-test: Changes to the hardware clock are kept when rebooting fail, while with this change they pass. Thanks again kytv!