Package: debian-goodies
Version: 0.24
Severity: normal
File: /usr/bin/network-test
Tags: patch
#v+
$ ip addr show lo
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
$ bash /usr/bin/network-test 2>&1 | grep 'Your lo inteface is down'
ERR: Your lo inteface is down, this might cause issues with local applications
(but not necessarily with network connectivity)
#v-
The attached patch fixes the problem.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Versions of packages debian-goodies depends on:
ii curl 7.15.5-1 Get a file from an HTTP, HTTPS, FT
ii grep-dctrl 2.9.1 Grep Debian package information -
ii lsof 4.77.dfsg.1-3 List open files
ii python 2.4.3-11 An interactive high-level object-o
debian-goodies recommends no packages.
-- no debconf information
--
Jakub Wilk
196c196
< if [ -z "`echo $status | grep UP\>`" ] ; then
---
> if [ -z "`echo $status | grep '[,<]UP[,>]'`" ] ; then
201c201
< echo "ERR: Your lo inteface is down, this might
cause issues with local applications (but not necessarily with network
connectivity)"
---
> echo "ERR: Your lo interface is down, this
> might cause issues with local applications (but not necessarily with network
> connectivity)"