Package: ntpdate
Version: 1:4.2.2+dfsg.2-3
Severity: wishlist
Tags: patch

Hello,

When i try to ifup and the network is down, ntpdate prints some messages
on  stdout which  is quite  annoying (runs  in background)  and unuseful
because the messages are written to  the logs. I did a small patch which
fixes that, could you please apply it?

The messages: 

# ifup eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:01:6c:ca:4e:cc
Sending on   LPF/eth0/00:01:6c:ca:4e:cc
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Starting Firewall rules.
Error : Temporary failure in name resolution
Error : Temporary failure in name resolution
Error : Temporary failure in name resolution
Error : Temporary failure in name resolution

Regards,
Arnaud Fontaine

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

Versions of packages ntpdate depends on:
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libcap1                      1:1.10-14   support for getting/setting POSIX.
ii  libssl0.9.8                  0.9.8c-3    SSL shared libraries
ii  lsb-base                     3.1-17      Linux Standard Base 3.1 init scrip
ii  netbase                      4.27        Basic TCP/IP networking system

ntpdate recommends no packages.

-- no debconf information

--- debian/ntpdate.ifup.old	2006-10-08 18:43:30.000000000 +0200
+++ debian/ntpdate.ifup	2006-10-08 18:46:00.000000000 +0200
@@ -20,4 +20,4 @@
 	NTPOPTIONS="-b $NTPOPTIONS"
 fi
 
-/usr/sbin/ntpdate -s $NTPOPTIONS "$@" $NTPSERVERS &
+/usr/sbin/ntpdate -s $NTPOPTIONS "$@" $NTPSERVERS >& /dev/null &

Attachment: pgppH7zsAP6Ir.pgp
Description: PGP signature

Reply via email to