Bug 698192

Summary: pifconfig does not support IPv6
Product: Red Hat Enterprise Linux 6 Reporter: Petr Šplíchal <psplicha>
Component: python-ethtoolAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: Branislav Náter <bnater>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: bnater, davids, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ethtool-0.6-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 886904 (view as bug list) Environment:
Last Closed: 2013-02-21 10:48:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 886904    
Attachments:
Description Flags
Patch to add IPv6 information to output of pifconfig none

Description Petr Šplíchal 2011-04-20 12:05:09 UTC
Description of problem:

Command line utility "pifconfig" does not support IPv6. If a
device is configured IPv6-only it is not listed at all.

Version-Release number of selected component (if applicable):
python-ethtool-0.6-1.el6.x86_64

Steps to Reproduce:
1. Have a network device with IPv6 configured
2. Run pifconfig
  
Actual results:
lo        
          inet addr:127.0.0.1   Mask:255.0.0.0
          UP LOOPBACK RUNNING

eth0      HWaddr 00:14:5e:6d:a6:88 
          inet addr:10.16.113.8 Bcast:10.16.115.255   Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST

Expected results:

IPv6 related info displayed as well.

Comment 5 Dave Malcolm 2011-07-01 23:00:09 UTC
Created attachment 510948 [details]
Patch to add IPv6 information to output of pifconfig

I'm attaching a candidate patch, which adds "inet6 addr" lines to the output of pifconfig for any IPv6 addresses

Comment 8 Dave Malcolm 2011-07-01 23:04:59 UTC
BTW, does anyone actually use "pifconfig", or is it just a test script?

Comment 9 RHEL Program Management 2011-07-06 00:27:08 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 10 David Sommerseth 2011-07-06 06:34:34 UTC
(In reply to comment #5)
> Created attachment 510948 [details]
> Patch to add IPv6 information to output of pifconfig
> 
> I'm attaching a candidate patch, which adds "inet6 addr" lines to the output of
> pifconfig for any IPv6 addresses


Reviewed and applied upstream, commit 0bfcfc18fa81fcbb9c9c3a1c715d013e25cf46ca.

Comment 11 David Sommerseth 2011-07-06 06:50:17 UTC
(In reply to comment #8)
> BTW, does anyone actually use "pifconfig", or is it just a test script?

I don't know the real intentions of including this script in the package.  But it is a useful example of how to use py-ethtool to extract data.  For what I care, this script could even go into %doc/examples

Comment 14 Suzanne Logcher 2012-02-14 23:08:47 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 17 RHEL Program Management 2012-07-10 06:03:45 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 18 RHEL Program Management 2012-07-11 01:58:19 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 23 errata-xmlrpc 2013-02-21 10:48:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0454.html