Debian Bug report logs - #812886
net-tools: ifconfig doesn't show interface

version graph

Package: net-tools; Maintainer for net-tools is net-tools Team <team+net-tools@tracker.debian.org>; Source for net-tools is src:net-tools (PTS, buildd, popcon).

Reported by: Andrey Melnikov <temnota.am@gmail.com>

Date: Wed, 27 Jan 2016 15:54:01 UTC

Severity: important

Found in version net-tools/1.60-26

Fixed in version net-tools/1.60+git20181103.0eebece-1

Done: Utkarsh Gupta <utkarsh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>:
Bug#812886; Package net-tools. (Wed, 27 Jan 2016 15:54:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andrey Melnikov <temnota.am@gmail.com>:
New Bug report received and forwarded. Copy sent to net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>. (Wed, 27 Jan 2016 15:54:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andrey Melnikov <temnota.am@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: net-tools: ifconfig doesn't show interface
Date: Wed, 27 Jan 2016 18:53:16 +0300
Package: net-tools
Version: 1.60-26+b1
Severity: important


ifconfig doesn't show interface (lxcbr0 on my config).

Steps to reproduce:

brctl addbr lxcbr
ip link set dev lxcbr up
brctl addbr lxcbr0
ip link set dev lxcbr0 up

# ifconfig | grep lxcbr
lxcbr     Link encap:Ethernet  HWaddr 00:1e:c9:d1:06:93

note - lxcbr0 not shown. ip link show all interfaces

# ip link | grep lxcbr
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
lxcbr state UP mode DEFAULT group default qlen 1000
4: lxcbr: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP mode DEFAULT group default qlen 1000
62: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group default qlen 1000

backporting net-tools from sid helps.

-- System Information:
Debian Release: jessie
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)



Information forwarded to debian-bugs-dist@lists.debian.org, net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>:
Bug#812886; Package net-tools. (Thu, 28 Jan 2016 12:51:12 GMT) (full text, mbox, link).


Acknowledgement sent to Martín Ferrari <tincho@tincho.org>:
Extra info received and forwarded to list. Copy sent to net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>. (Thu, 28 Jan 2016 12:51:12 GMT) (full text, mbox, link).


Message #10 received at 812886@bugs.debian.org (full text, mbox, reply):

From: Martín Ferrari <tincho@tincho.org>
To: Andrey Melnikov <temnota.am@gmail.com>, 812886@bugs.debian.org
Subject: Re: Bug#812886: net-tools: ifconfig doesn't show interface
Date: Thu, 28 Jan 2016 13:48:06 +0100
On 27/01/16 16:53, Andrey Melnikov wrote:

> ifconfig doesn't show interface (lxcbr0 on my config).

Does it show it if you run 'ifconfig -a'? And if you configure ip addresses?

In any case, this bug does not seem to be severity:important, nor
deserving an upload to stable, which usually only happens for security
issues.


-- 
Martín Ferrari (Tincho)



Information forwarded to debian-bugs-dist@lists.debian.org, net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>:
Bug#812886; Package net-tools. (Thu, 28 Jan 2016 13:30:13 GMT) (full text, mbox, link).


Acknowledgement sent to Andrey Melnikov <temnota.am@gmail.com>:
Extra info received and forwarded to list. Copy sent to net-tools Team <pkg-net-tools-maintainers@lists.alioth.debian.org>. (Thu, 28 Jan 2016 13:30:13 GMT) (full text, mbox, link).


Message #15 received at 812886@bugs.debian.org (full text, mbox, reply):

From: Andrey Melnikov <temnota.am@gmail.com>
To: Martín Ferrari <tincho@tincho.org>
Cc: 812886@bugs.debian.org
Subject: Re: Bug#812886: net-tools: ifconfig doesn't show interface
Date: Thu, 28 Jan 2016 16:28:55 +0300
2016-01-28 15:48 GMT+03:00 Martín Ferrari <tincho@tincho.org>:
> On 27/01/16 16:53, Andrey Melnikov wrote:
>
>> ifconfig doesn't show interface (lxcbr0 on my config).
>
> Does it show it if you run 'ifconfig -a'? And if you configure ip addresses?
No.

# brctl addbr testbr && ip link set dev testbr up
# brctl addbr testbr0 && ip link set dev testbr0 up
# brctl addbr testbr1 && ip link set dev testbr1 up

# ./ifconfig  -a | grep testbr
testbr0   Link encap:Ethernet  HWaddr b2:d0:d7:30:d2:02
testbr1   Link encap:Ethernet  HWaddr 5a:4f:05:b8:68:bc

# ip link  | grep testbr
73: testbr: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group default qlen 1000
74: testbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group default qlen 1000
75: testbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group default qlen 1000

# ip add add 10.1.0.1/24 dev testbr
# ip add add 10.2.0.1/24 dev testbr0
# ip add add 10.3.0.1/24 dev testbr1

# ./ifconfig  -a | grep testbr
testbr0   Link encap:Ethernet  HWaddr b2:d0:d7:30:d2:02
testbr1   Link encap:Ethernet  HWaddr 5a:4f:05:b8:68:bc

# ip -4 add | grep testbr
73: testbr: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN group default qlen 1000
    inet 10.1.0.1/24 scope global testbr
74: testbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN group default qlen 1000
    inet 10.2.0.1/24 scope global testbr0
75: testbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN group default qlen 1000
    inet 10.3.0.1/24 scope global testbr1

# ./ifconfig testbr
testbr0   Link encap:Ethernet  HWaddr b2:d0:d7:30:d2:02
          inet addr:10.2.0.1  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::b0d0:d7ff:fe30:d202/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:648 (648.0 B)

total mess. But "./ifconfig testbr 10.4.0.1 netmask 255.255.255.0"
configure right interface, this is good.


> In any case, this bug does not seem to be severity:important, nor
> deserving an upload to stable, which usually only happens for security
> issues.

If some user scripts parse output of this broken ifconfig - it may
configure firewall with wrong IP address or any other service.

This bug fixed 2 year ago in net-tools git:

commit 12f5a0c5db56f035350330a4fe7081f6b61deb37
Author: Jiri Popelka <jpopelka@redhat.com>
Date:   Mon Oct 21 10:58:56 2013 +0200

    Fix nstrcmp() to prevent ifconfig from showing duplicate interfaces.

    Patch from TAKADA Yoshihito
    https://bugzilla.redhat.com/show_bug.cgi?id=1021109



Reply sent to Utkarsh Gupta <utkarsh@debian.org>:
You have taken responsibility. (Fri, 02 Oct 2020 10:09:08 GMT) (full text, mbox, link).


Notification sent to Andrey Melnikov <temnota.am@gmail.com>:
Bug acknowledged by developer. (Fri, 02 Oct 2020 10:09:08 GMT) (full text, mbox, link).


Message #20 received at 812886-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 812886-close@bugs.debian.org
Subject: Bug#812886: fixed in net-tools 1.60+git20181103.0eebece-1
Date: Fri, 02 Oct 2020 10:04:10 +0000
Source: net-tools
Source-Version: 1.60+git20181103.0eebece-1
Done: Utkarsh Gupta <utkarsh@debian.org>

We believe that the bug you reported is fixed in the latest version of
net-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 812886@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Utkarsh Gupta <utkarsh@debian.org> (supplier of updated net-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 02 Oct 2020 15:01:04 +0530
Source: net-tools
Architecture: source
Version: 1.60+git20181103.0eebece-1
Distribution: unstable
Urgency: medium
Maintainer: net-tools Team <team+net-tools@tracker.debian.org>
Changed-By: Utkarsh Gupta <utkarsh@debian.org>
Closes: 549397 621752 653117 812886
Changes:
 net-tools (1.60+git20181103.0eebece-1) unstable; urgency=medium
 .
   * New upstream version 1.60+git20181103.0eebece
     - Fix nstrcmp() to prevent ifconfig from showing
       duplicate interfaces. (Closes: #812886)
   * Fix d/watch to point to upstream git repository
   * Add patch to fix decoding of MII vendor ids. (Closes: #549397)
     - Thanks, Ben Hutchings, for the patch.
   * Add patch to fix Japanese translation which uses a wrong
     Kanji character. (Closes: #621752)
     - Thanks, Takeshi Hamasaki, for the patch.
   * Add patch to fix wrong indentation of "collisions" in  the
     Japanese translation. (Closes: #653117)
     - Thanks, NODA, Kai, for the patch.
   * Fix Uploaders' field.
     - Add myself as an uploader.
     - Fix Tina's details.
Checksums-Sha1:
 a0c6d9d90713e0b150e1d82fb15f9005a2e51473 2142 net-tools_1.60+git20181103.0eebece-1.dsc
 29ea41401bebf746b11c237f0e8ffce28f7f7759 197516 net-tools_1.60+git20181103.0eebece.orig.tar.xz
 d24e162ea83be80d7f6dd93317414bea6aff5a1a 57356 net-tools_1.60+git20181103.0eebece-1.debian.tar.xz
 217463c1f5ae199e2e00ba4ad8bc1f9c32d098d3 6243 net-tools_1.60+git20181103.0eebece-1_amd64.buildinfo
Checksums-Sha256:
 e1050dd87be399ee55fd449954633d9906171a81dce0ac385a82f8a9f98a1651 2142 net-tools_1.60+git20181103.0eebece-1.dsc
 ab56d30a5e40444083c67cb3940e42ad554f99ae38e027d30c30487b2b7820aa 197516 net-tools_1.60+git20181103.0eebece.orig.tar.xz
 ff1e1cbd0cbde95eb97a25fb00e5b04c13cc16010b31eb02b0397ed7420aa890 57356 net-tools_1.60+git20181103.0eebece-1.debian.tar.xz
 6873fa68239dc0acfc4e7ee64350e07ae7e524972b5fd4aaad223b9537179302 6243 net-tools_1.60+git20181103.0eebece-1_amd64.buildinfo
Files:
 6ef46b1a0885a30de2a46801c353dfbd 2142 net important net-tools_1.60+git20181103.0eebece-1.dsc
 06067b9254dbd34db95400ec61272949 197516 net important net-tools_1.60+git20181103.0eebece.orig.tar.xz
 29e06c2d7db511a5c003897e07536d45 57356 net important net-tools_1.60+git20181103.0eebece-1.debian.tar.xz
 bd9cc35d98df080dcb35e057adabfd91 6243 net important net-tools_1.60+git20181103.0eebece-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAl929igTHHV0a2Fyc2hA
ZGViaWFuLm9yZwAKCRCCPpZ2BsNLltddEACnP50nIFMY22GlbqQw2lkxqBMbniUd
zqt/q1RfVTufJrV2sFJeWmKvrg9INmTo4mSYJkJDqX1kyrM0CAKtYurQJU5eQ5Ti
17tpxahq/1tI+NPoIOEfRsYhZ8g6zkMKh2vlVu9ylQ3kkLsAsHcbfZVpniia7Z53
hIo9TNu9FLpbXo9TKOWAyOk2W7dZd+8YVPlQQrD7OBwzZXsS+Rwc9JX2CSzd18VW
Sx3z/+up/XcZsQ43QZU09VRN4+FE+7fFk9TezZreRCfLWH2l2cgYNwrwgRaCxWeB
TQDhylmJvQ1iMcu40yceCQlHu29fql5dWh0OcD7dqIsbSXaQSEqViSat3cmiKaHA
+C1y04k73O6Ynd5R38whKQDRBuJDmhAXQ4VlJrdiGU425mliItIvoA2ex3iaPWOR
+1MUOqn4IBQU317k3xJ8SvOC7AkGkJulWHvJDkyKlh2BdyhpLpGU6qq8G+gxsDh5
foqoVKXF9b+Ei/LY6PQQWjYe/Ez9oWV3XoUesQYkCnDmXfmCKskOZdIC+tsQFCS+
JJroF6I5Q8G22tdJniHFgsI4mx3da3V0yFzoFRYfIdNf0LKM0PptiTwfpc9C7FC+
m+lHk+E/yHIPhiQj0+YHQTM+XUtkmeDxQPl4XN9dygMauPCbp+3vXQb6pA/qYRAJ
6yX5rRhrjiwBsg==
=ApCl
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 04 Nov 2020 07:26:41 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Oct 8 03:05:07 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.