summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shields <shields@msrl.com>2017-02-11 21:30:40 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-12 00:30:40 -0500
commit501bf2d5d217eaa21e6012c9cae7bb195265edcb (patch)
treeafbd73a3bdb1c4caa5b77536efd89868e4c0161e
parentdbb1d5cf69c07443c987c08ef1c54e51940fe1ab (diff)
downloadsystemd-501bf2d5d217eaa21e6012c9cae7bb195265edcb.tar.gz
It's now ok to use Google NTP servers (#5311)
-rw-r--r--DISTRO_PORTING24
-rw-r--r--README5
-rw-r--r--configure.ac5
3 files changed, 12 insertions, 22 deletions
diff --git a/DISTRO_PORTING b/DISTRO_PORTING
index 51a244389d..68107e46c9 100644
--- a/DISTRO_PORTING
+++ b/DISTRO_PORTING
@@ -25,21 +25,19 @@ HOWTO:
NTP POOL:
- By default, timesyncd uses the Google NTP servers
- time[1-4].google.com. They serve time that is not standards
- compliant, and can be up to .5s off. Google does not
- officially support these servers for the broader
- audience. Distributions and vendors really should not ship
- OSes or devices with these NTP servers configured. Instead,
- please register your own vendor pool at ntp.org and make it
- the built-in default by passing --with-ntp-servers= to
- configure. Registering vendor pools is free:
+ By default, timesyncd uses the Google Public NTP servers
+ time[1-4].google.com. They serve time that uses a leap second
+ smear, and can be up to .5s off from servers that use stepped
+ leap seconds.
- http://www.pool.ntp.org/en/vendors.html
+ https://developers.google.com/time/smear
+
+ If you prefer to use leap second steps, please register your own
+ vendor pool at ntp.org and make it the built-in default by
+ passing --with-ntp-servers= to configure. Registering vendor
+ pools is free:
- Again, if you ship your software or device with the default
- NTP servers, then you will get served wrong time, and will
- rely on services that might not be supported for long.
+ http://www.pool.ntp.org/en/vendors.html
PAM:
The default PAM config shipped by systemd is really bare bones.
diff --git a/README b/README
index 0de69a3383..4b369fbc86 100644
--- a/README
+++ b/README
@@ -275,11 +275,6 @@ WARNINGS:
false positives will be triggered by code which violates
some rules but is actually safe.
- Currently, systemd-timesyncd defaults to use the Google NTP
- servers if not specified otherwise at configure time. You
- really should not ship an OS or device with this default
- setting. See DISTRO_PORTING for details.
-
ENGINEERING AND CONSULTING SERVICES:
Kinvolk (https://kinvolk.io) offers professional engineering
and consulting services for systemd. Please contact Chris Kühl
diff --git a/configure.ac b/configure.ac
index ab1d17c531..ef8a8087af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1146,10 +1146,7 @@ AC_ARG_WITH(ntp-servers,
AS_HELP_STRING([--with-ntp-servers=NTPSERVERS],
[space-separated list of default NTP servers]),
[NTP_SERVERS="$withval"],
- [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"
- AC_MSG_WARN([*** Using Google NTP servers.
- Do not ship OSes or devices with these default settings.
- See DISTRO_PORTING for details!])])
+ [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"])
AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers])
AC_SUBST(NTP_SERVERS)