FS#26306 - [aif] aif -p partial-configure-network cant find any interface
Attached to Project:
Release Engineering
Opened by edac val (edacval) - Thursday, 06 October 2011, 20:12 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 23 December 2011, 14:31 GMT
Opened by edac val (edacval) - Thursday, 06 October 2011, 20:12 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Friday, 23 December 2011, 14:31 GMT
|
Details
AIF can not find any network interface, because of changes
to "ifconfig-a" output format after net-tools updated to
version 1.60.20110819cvs-1.
Line 789 " ifaces=$(ifconfig -a |grep "Link encap:Ethernet"|sed 's/ \+Link encap:Ethernet \+HWaddr \+/ /g') " in /usr/lib/aif/core/libs/lib-ui-interactive.sh does not work anymore. ifconfig -a output: http://pastebin.com/dPvTB4Tp |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Friday, 23 December 2011, 14:31 GMT
Reason for closing: Fixed
Friday, 23 December 2011, 14:31 GMT
Reason for closing: Fixed
14:40 < tomegun> Dieterbe: in short: ifconfig=unmaintained and iproute=the future
14:40 < tomegun> ifconfig will continue to work (probably forever), but it is officially deprecated and everyone is encouraged to use the iproute stuff
ifconfig is no longer in base.
net-tools is an ancient package (last released 10 years ago) that has been replaced by iptools2.
net-tools should no longer be in the iso's (it's not included in the releng configs)
iproute2 should be added to list of dependencies of AIF. (all distros should have it) and we should parse `ip` output.
Although Ionut already did some testing, so I'll just close this.
thanks guys!