[pkg-ntp-maintainers] Bug#376019: /etc/default/ntpdate:NTPSERVERS could be initialised from ntp.conf

martin f krafft madduck at debian.org
Thu Jun 29 18:01:12 UTC 2006


Package: ntpdate
Version: 1:4.2.0a+stable-9
Severity: wishlist

I use the following in /etc/default/ntpdate with success:

  NTPSERVERS="$(sed -rne 's/^server ([-_.[:alnum:]]+)$/\1/p'
    /etc/ntp.conf 2>/dev/null || echo echo {0,1,2,3}.debian.pool.ntp.org)"
  # override:
  #NTPSERVERS="time.ethz.ch"

This works like a charm and I now can manage the servers only in
ntp.conf. If we now pump up ntpdate to read default servers from
here, all's well.

Please consider.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-xen-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages ntpdate depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.

ntpdate recommends no packages.

-- no debconf information

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20060629/b4bd824a/attachment.pgp


More information about the pkg-ntp-maintainers mailing list