[pkg-ntp-maintainers] Bug#376983: ntp.conf should show how to get two *different* servers from ntp.pool.org [patch]

James R. Van Zandt jrvz at comcast.net
Thu Jul 6 01:05:11 UTC 2006


Package: ntp
Version: 1:4.2.0a+stable-9
Severity: normal


ntp.conf includes this section:

  server pool.ntp.org
  #server pool.ntp.org
  ## uncomment for extra reliability

Actually just asking for the same ip name twice could give you the
same address both times.  This is the method recommended at http://www.pool.ntp.org/use.html:


  server 0.pool.ntp.org
  server 1.pool.ntp.org
  server 2.pool.ntp.org

I suggest the patch below.

             - Jim Van Zandt

--- debian/ntp.conf-orig	2006-07-05 20:54:49.000000000 -0400
+++ debian/ntp.conf	2006-07-05 20:55:09.000000000 -0400
@@ -19,8 +19,9 @@
 # Your server will pick a different set every time it starts up.
 #  *** Please consider joining the pool! ***
 #  ***  <http://www.pool.ntp.org/#join>  ***
-server pool.ntp.org
-#server pool.ntp.org
+server 0.pool.ntp.org
+#server 1.pool.ntp.org
+#server 2.pool.ntp.org
 ## uncomment for extra reliability
 
 # ... and use the local system clock as a reference if all else fails


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ntp depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libreadline5                  5.1-7      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  perl-modules                  5.8.8-4    Core Perl modules
ii  psmisc                        22.2-1     Utilities that use the proc filesy

Versions of packages ntp recommends:
ii  ntp-server           1:4.2.0a+stable-8.1 Network Time Protocol: common serv

-- no debconf information




More information about the pkg-ntp-maintainers mailing list