Bug#394258: marked as done (ifconfig: always returns true even if fails)
Your message dated Mon, 26 May 2008 19:40:02 +0200
with message-id <20080526174002.GL26495@stro.at>
and subject line Re: ifconfig: always returns true even if fails
has caused the Debian Bug report #394258,
regarding ifconfig: always returns true even if fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
394258: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- Subject: ifconfig: always returns true even if fails
- From: Dan Jacobson <jidanni@jidanni.org>
- Date: Fri, 20 Oct 2006 20:04:51 +0800
- Message-id: <E1Gat7L-00018M-BA@jidanni.org>
Package: net-tools
Version: 1.60-17
Severity: normal
File: /sbin/ifconfig
Not even an error in $? is returned if failed to take device down,
Nor any error messages.
# ifconfig -s
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
lo 16436 0 34 0 0 0 34 0 0 0 LRU
sit0 1480 0 0 0 0 0 0 0 0 0 ORU
# ifconfig lo down
# ifconfig sit0 down; echo $?
0
# ifconfig -s
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
sit0 1480 0 0 0 0 0 0 0 0 0 ORU
Also could return errors/messages if the device is already in the state,
# ifconfig lo down; echo $?
0
# ifconfig lo up
# ifconfig lo up; echo $?
0
like /etc/init.d/many_packages start|stop do.
--- End Message ---
--- Begin Message ---
- To: 394258-done@bugs.debian.org
- Subject: Re: ifconfig: always returns true even if fails
- From: maximilian attems <max@stro.at>
- Date: Mon, 26 May 2008 19:40:02 +0200
- Message-id: <20080526174002.GL26495@stro.at>
ifconfig is legacy. use ip from the iproute package.
thanks
--
maks
--- End Message ---
Reply to: