Package: chrony
Version: 1.20-8
Severity: minor
chrony logs messages that look like this:
| /var/log/syslog.3.gz:Jun 17 01:23:26 rain chronyd[28857]: Could not send to
:130.149.17.8123 : Network is unreachable
However, 130.149.17.8:123 probably is what is meant here -
that's why I'd suggest the following patch:
---------------------------------------------------------------------------
diff -ur chrony-1.20.orig/ntp_io.c chrony-1.20/ntp_io.c
--- chrony-1.20.orig/ntp_io.c 2003-09-22 23:22:30.000000000 +0200
+++ chrony-1.20/ntp_io.c 2005-06-21 03:43:59.000000000 +0200
@@ -244,7 +244,7 @@
if (sendto(sock_fd, (void *) packet, NTP_NORMAL_PACKET_SIZE, 0,
(struct sockaddr *) &remote, sizeof(remote)) < 0) {
- LOG(LOGS_WARN, LOGF_NtpIO, "Could not send to :%s%d : %s",
+ LOG(LOGS_WARN, LOGF_NtpIO, "Could not send to %s:%d : %s",
UTI_IPToDottedQuad(remote_addr->ip_addr), remote_addr->port,
strerror(errno));
}
@@ -267,7 +267,7 @@
if (sendto(sock_fd, (void *) packet, sizeof(NTP_Packet), 0,
(struct sockaddr *) &remote, sizeof(remote)) < 0) {
- LOG(LOGS_WARN, LOGF_NtpIO, "Could not send to :%s%d : %s",
+ LOG(LOGS_WARN, LOGF_NtpIO, "Could not send to %s:%d : %s",
UTI_IPToDottedQuad(remote_addr->ip_addr), remote_addr->port,
strerror(errno));
}
---------------------------------------------------------------------------
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages chrony depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libreadline4 4.3-11 GNU readline and history libraries
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]