Bug#755722: systemd must sync systemclock to RTC on shutdown

Martin Pitt mpitt at debian.org
Mon Feb 16 15:41:21 GMT 2015


Hello all,

For jessie+1/experimental onward, we'll fix this properly by enabling
timesyncd by default. It won't start if ntp or similar are installed.
This will make sure that the hw clock will be updated often enough,
and we won't poke false data into it:

  http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h=experimental&id=929bece5326

This is a new feature though, and as such most probably not
appropriate for jessie at this point.

For master (i. e. testing/jessie), I prepared and tested the attached
patch. I'm still kind of hesitant to apply it as it's solving the
problem in a rather questionable, insufficient, and conceptually wrong
way. However, with that it would stay "bug compatible" with sysvinit
in jessie.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-hwclock.service-to-sync-the-system-clock-to-the-.patch
Type: text/x-diff
Size: 3706 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150216/8dae14a0/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150216/8dae14a0/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list