[pkg-ntp-maintainers] Bug#489712: ntpdate-debian does not consider numeric IPv6 address.
Hiroyuki YAMAMORI
h-yamamo at db3.so-net.ne.jp
Mon Jul 7 10:19:46 UTC 2008
Package: ntpdate
Version: 1:4.2.4p4+dfsg-6
Severity: normal
Tags: patch
For example fd00::1, ntpdate-debian does not work.
To fix:
--- /usr/sbin/ntpdate-debian 2008-06-16 19:58:12.000000000 +0900
+++ /usr/sbin/ntpdate-debian 2008-07-07 19:02:03.000000000 +0900
@@ -14,7 +14,7 @@
fi
done
if [ -n "$file" ]; then
- NTPSERVERS=$(sed -rne 's/^(servers?|peer) ([-_.[:alnum:]]+).*$/\2/p' "$file" | grep -v '^127\.127\.') || [ $? -le 1 ]
+ NTPSERVERS=$(sed -rne 's/^(servers?|peer) ([-_.:[:alnum:]]+).*$/\2/p' "$file" | grep -v '^127\.127\.') || [ $? -le 1 ]
fi
elif [ -r /etc/default/ntpdate.dhcp ]; then
. /etc/default/ntpdate.dhcp
Thanks.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages ntpdate depends on:
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
ii netbase 4.32 Basic TCP/IP networking system
Versions of packages ntpdate recommends:
pn lockfile-progs <none> (no description available)
-- no debconf information
More information about the pkg-ntp-maintainers
mailing list