* Merge with Debian unstable (LP: #1802886). Remaining changes:
- d/chrony.conf: use ubuntu ntp pool and server (LP 1744664)
- Set -x as default if unable to set time (e.g. in containers) (LP: 1589780)
Chrony is a single service which acts as both NTP client (i.e. syncing the
local clock) and NTP server (i.e. providing NTP services to the network),
and that is both desired and expected in the vast majority of cases.
But in containers syncing the local clock is usually impossible, but this
shall not break the providing of NTP services to the network.
To some extent this makes chrony's default config more similar to 'ntpd',
which complained in syslog but still provided NTP server service in those
cases.
+ debian/chrony.service: allow the service to run without CAP_SYS_TIME
+ debian/control: add new dependency libcap2-bin for capsh (usually
installed anyway, but make them explicit to be sure).
+ debian/chrony.default: new option SYNC_IN_CONTAINER to not fall back
(Default off).
+ debian/chronyd-starter.sh: wrapper to handle special cases in containers
and if CAP_SYS_TIME is missing. Effectively allows to run NTP server in
containers on a default installation and avoid failing to sync time (or
if allowed to sync, avoid multiple containers to fight over it by
accident).
+ debian/install: make chronyd-starter.sh available on install.
+ debian/docs, debian/README.container: provide documentation about the
handling of this case.
- d/postrm: re-establish systemd-timesyncd on removal (LP: 1764357)
- Notify chrony to update sources in response to systemd-networkd
events (LP: 1718227)
+ d/links: link dispatcher script to networkd-dispatcher events routable
and off
+ d/control: set Recommends to networkd-dispatcher
* Dropped Changes (upstream):
- d/p/lp-1718227-nm-dispatcher-for-networkd.patch
- d/p/lp-1787366-fall-back-to-urandom.patch: avoid hangs when starting
the service on newer kernels by falling back to urandom. (LP: 1787366)
* Added Changes:
- d/postrm: respect policy-rc.d when restoring systemd-timesyncd
(LP: #1771994)
chrony (3.4-1) unstable; urgency=medium
* Import upstream version 3.4:
- Please see /usr/share/doc/chrony/NEWS.gz for the release notes.
* Merge branch “experimental” into “master”.
* debian/chrony.service:
- Conflict with ntpsec.service.
* debian/patches/*:
- Cherry-pick upstream patch to fix samplefilt unit test to work with
low-precision clocks. This should prevent chrony from failing to build
from source on HPPA and Alpha.
chrony (3.4~pre1-1) experimental; urgency=medium
* Import upstream version 3.4-pre1:
- Please see /usr/share/doc/chrony/NEWS.gz for the release notes.
* debian/:
- Add “.gitlab-ci.yml” file to use GitLab Continuous Integration.
* debian/chrony.if-{post-down,up}:
- Use the new “onoffline” command to tell chronyd to switch all sources to
the online or offline status according to the current network configuration.
* debian/chrony.ppp.ip-{down,up}:
- As for ifupdown scripts, use the “onoffline” command.
* debian/control:
- Bump standard-version to 4.2.1 (no changes required).
* debian/patches/*:
- Remove fall-back-to-urandom.patch. Applied in this prerelease.
* debian/post{inst,rm}:
- Use “command -v” instead of “which” to enhance portability.
chrony (3.3-3) unstable; urgency=medium
* debian/:
- Normalize packaging with “wrap-and-sort -ab”.
* debian/control:
- Bump standard-version to 4.2.0:
↳ Install upstream release notes as “/usr/share/doc/chrony/NEWS.gz”. Installing these as “/usr/share/doc/package/changelog.gz” is now deprecated.
* debian/patches/:
- Cherry-pick upstream patch to avoid hangs when starting
chronyd on newer kernels by falling back to urandom.
Thanks to Gustavo Scalet <email address hidden> for the report and
the initial patch. (LP: #1787366, Closes: #906276)
This bug was fixed in the package chrony - 3.4-1ubuntu1
---------------
chrony (3.4-1ubuntu1) disco; urgency=medium
* Merge with Debian unstable (LP: #1802886). Remaining changes: chrony. service: allow the service to run without CAP_SYS_TIME chrony. default: new option SYNC_IN_CONTAINER to not fall back chronyd- starter. sh: wrapper to handle special cases in containers README. container: provide documentation about the 1718227- nm-dispatcher- for-networkd. patch 1787366- fall-back- to-urandom. patch: avoid hangs when starting
- d/chrony.conf: use ubuntu ntp pool and server (LP 1744664)
- Set -x as default if unable to set time (e.g. in containers) (LP: 1589780)
Chrony is a single service which acts as both NTP client (i.e. syncing the
local clock) and NTP server (i.e. providing NTP services to the network),
and that is both desired and expected in the vast majority of cases.
But in containers syncing the local clock is usually impossible, but this
shall not break the providing of NTP services to the network.
To some extent this makes chrony's default config more similar to 'ntpd',
which complained in syslog but still provided NTP server service in those
cases.
+ debian/
+ debian/control: add new dependency libcap2-bin for capsh (usually
installed anyway, but make them explicit to be sure).
+ debian/
(Default off).
+ debian/
and if CAP_SYS_TIME is missing. Effectively allows to run NTP server in
containers on a default installation and avoid failing to sync time (or
if allowed to sync, avoid multiple containers to fight over it by
accident).
+ debian/install: make chronyd-starter.sh available on install.
+ debian/docs, debian/
handling of this case.
- d/postrm: re-establish systemd-timesyncd on removal (LP: 1764357)
- Notify chrony to update sources in response to systemd-networkd
events (LP: 1718227)
+ d/links: link dispatcher script to networkd-dispatcher events routable
and off
+ d/control: set Recommends to networkd-dispatcher
* Dropped Changes (upstream):
- d/p/lp-
- d/p/lp-
the service on newer kernels by falling back to urandom. (LP: 1787366)
* Added Changes:
- d/postrm: respect policy-rc.d when restoring systemd-timesyncd
(LP: #1771994)
chrony (3.4-1) unstable; urgency=medium
* Import upstream version 3.4: doc/chrony/ NEWS.gz for the release notes.
- Please see /usr/share/
* Merge branch “experimental” into “master”.
* debian/ chrony. service:
- Conflict with ntpsec.service.
* debian/copyright:
- Update copyright years.
* debian/patches/*: unit-test- to-work- with-low- precision- clock.patch,
- Remove fix-samplefilt-
fixed upstream.
chrony (3.4~pre1-2) experimental; urgency=medium
* debian/patches/*:
- Cherry-pick upstream patch to fix samplefilt unit test to work with
low-precision clocks. This should prevent chrony from failing to build
from source on HPPA and Alpha.
chrony (3.4~pre1-1) experimental; urgency=medium
* Import upstream version 3.4-pre1: doc/chrony/ NEWS.gz for the release notes.
- Please see /usr/share/
* debian/:
- Add “.gitlab-ci.yml” file to use GitLab Continuous Integration.
* debian/ chrony. if-{post- down,up} :
- Use the new “onoffline” command to tell chronyd to switch all sources to
the online or offline status according to the current network configuration.
* debian/ chrony. ppp.ip- {down,up} :
- As for ifupdown scripts, use the “onoffline” command.
* debian/control:
- Bump standard-version to 4.2.1 (no changes required).
* debian/patches/*: to-urandom. patch. Applied in this prerelease.
- Remove fall-back-
* debian/ post{inst, rm}:
- Use “command -v” instead of “which” to enhance portability.
chrony (3.3-3) unstable; urgency=medium
* debian/:
- Normalize packaging with “wrap-and-sort -ab”.
* debian/control: doc/chrony/ NEWS.gz” .
Installing these as “/usr/share/ doc/package/ changelog. gz” is now
deprecated.
- Bump standard-version to 4.2.0:
↳ Install upstream release notes as “/usr/share/
* debian/patches/:
- Cherry-pick upstream patch to avoid hangs when starting
chronyd on newer kernels by falling back to urandom.
Thanks to Gustavo Scalet <email address hidden> for the report and
the initial patch. (LP: #1787366, Closes: #906276)
* debian/ upstream/ metadata:
- Add DEP12 upstream metadata file.
-- Christian Ehrhardt <email address hidden> Mon, 12 Nov 2018 11:39:08 +0100