Bug 714753
Summary: | "pifconfig <device>" lists all devices | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Šplíchal <psplicha> | ||||
Component: | python-ethtool | Assignee: | Dave Malcolm <dmalcolm> | ||||
Status: | CLOSED ERRATA | QA Contact: | Branislav Náter <bnater> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.1 | CC: | bnater, bugproxy, davids, hannsj_uhl, ohudlick | ||||
Target Milestone: | rc | ||||||
Target Release: | 6.4 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-ethtool-0.6-2.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 905576 (view as bug list) | Environment: | |||||
Last Closed: | 2013-02-21 10:48:13 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: | 804141, 905576 | ||||||
Attachments: |
|
Description
Petr Šplíchal
2011-06-20 15:36:14 UTC
Created attachment 505775 [details]
Patch: Fix command line argument parser
Fixed this for upstream. The attached patch fixes this issue.
commit a45819ecb5580aeeb09c6c2201929257f5d311d2
Author: David Sommerseth <davids>
Date: Tue Jun 21 10:06:36 2011 +0200
Make pifconfig respect interface arguments from the command line
pifconfig did not pay attention to any arguments give on the command
line, which should only list selected devices. This patch revamps the
argument parsing, to behave as described in usage and man page.
Signed-off-by: David Sommerseth <davids>
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. 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. 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. 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. *** Bug 834811 has been marked as a duplicate of this bug. *** ------- Comment From chavez.com 2013-02-14 14:23 EDT------- Verified on RHEL6.4 installed on a x86_64 system. [root@elm17d229 ~]# uname -a Linux elm17d229 2.6.32-353.el6.x86_64 #1 SMP Mon Jan 7 15:35:17 EST 2013 x86_64 x86_64 x86_64 GNU/Linux [root@elm17d229 ~]# rpm -qa|grep python-ethtool python-ethtool-0.6-3.el6.x86_64 [root@elm17d229 ~]# pifconfig -h Usage: pifconfig [interface [interface [interface] ...]] Options: -h, --help show this help message and exit [root@elm17d229 ~]# pifconfig eth0 eth0 HWaddr e4:1f:13:69:d7:1c inet addr:9.114.216.177 Bcast:9.114.216.255 Mask:255.255.255.0 inet6 addr: fe80::e61f:13ff:fe69:d71c/64 Scope: link inet6 addr: fd60:3427:11a9:69:e61f:13ff:fe69:d71c/64 Scope: universe inet6 addr: 2002:92f:653e:3e00:e61f:13ff:fe69:d71c/64 Scope: universe inet6 addr: fd55:faaf:e1ab:3df:e61f:13ff:fe69:d71c/64 Scope: universe 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 |