Bug#376019: [pkg-ntp-maintainers] Bug#376019:
/etc/default/ntpdate:NTPSERVERS could be initialised from ntp.conf
martin f krafft
madduck at debian.org
Sat Jul 15 12:58:54 UTC 2006
also sprach Peter Eisentraut <peter_e at gmx.net> [2006.07.15.0140 +0200]:
> > 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 seems to contradict the request in #375280 to use a different set
> of default servers for ntpdate than for ntp, which I'm inclined to
> agree with.
Yeah, so:
NTPSERVERS="$(sed -rne '0,/^server/s/^server ([-_.[:alnum:]]+)$/\1/p'
/etc/ntp.conf 2>/dev/null || echo 3.debian.pool.ntp.org)"
# override:
#NTPSERVERS="time.ethz.ch"
I don't see much point in randomising the {0..3} as the servers in
the recordset are randomised already.
--
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/20060715/c2a0b8e0/attachment.pgp
More information about the pkg-ntp-maintainers
mailing list