Hi Thanks for the patch. It will be applied.
Best regards, // Ola On Wed, Mar 18, 2009 at 03:18:15PM -0400, Jason Healy wrote: > Package: ntop > Version: 3:3.3-11+b2 > Severity: normal > Tags: patch > > > ntop init script parses "ifconfig" for valid interface names. However, > ntop allows "none" as an interface name, signalling that no interfaces > should be used for direct monitoring. Patch below adds a check for > "none" as the interface. > > --- /etc/init.d/ntop.dpkg-orig 2009-03-18 10:13:16.000000000 -0400 > +++ /etc/init.d/ntop 2009-03-18 10:19:34.000000000 -0400 > @@ -69,7 +69,7 @@ > [ -z "$INTERFACES" ] && return 0 > { echo $INTERFACES | awk -F , '{ for(i=1;i<=NF;i++) print $i }' | > while read iface ; do > - if ! ifconfig "$iface" | grep -w UP >/dev/null; then > + if [ "$iface" != "none" ] && ! ifconfig "$iface" | grep -w UP > >/dev/null; then > echo "ERR: interface $iface is DOWN..." > return 1 > fi > > > -- System Information: > Debian Release: 5.0 > APT prefers stable > APT policy: (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages ntop depends on: > ii adduser 3.110 add and remove users and groups > ii debconf [debconf-2.0] 1.5.24 Debian configuration management > sy > ii libc6 2.7-18 GNU C Library: Shared libraries > ii libcairo2 1.6.4-7 The Cairo 2D vector graphics > libra > ii libfontconfig1 2.6.0-3 generic font configuration > library > ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared > lib > ii libgdbm3 1.8.3-3 GNU dbm database routines > (runtime > ii libglib2.0-0 2.16.6-1 The GLib library of C routines > ii libpango1.0-0 1.20.5-3 Layout and rendering of > internatio > ii libpcap0.8 0.9.8-5 system interface for user-level > pa > ii libpixman-1-0 0.10.0-2 pixel-manipulation library for X > a > ii libpng12-0 1.2.27-2 PNG library - runtime > ii librrd4 1.3.1-4 Time-series data storage and > displ > ii libssl0.9.8 0.9.8g-15 SSL shared libraries > ii libx11-6 2:1.1.5-2 X11 client-side library > ii libxcb-render-util0 0.2.1+git1-1 utility libraries for X C > Binding > ii libxcb-render0 1.1-1.1 X C Binding, render extension > ii libxcb1 1.1-1.1 X C Binding > ii libxml2 2.6.32.dfsg-5 GNOME XML library > ii libxrender1 1:0.9.4-2 X Rendering Extension client > libra > ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime > > ntop recommends no packages. > > Versions of packages ntop suggests: > pn graphviz <none> (no description available) > pn gsfonts <none> (no description available) > > -- debconf information excluded > > > -- --------------------- Ola Lundqvist --------------------------- / o...@debian.org Annebergsslingan 37 \ | o...@inguza.com 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org