Bugzilla – Bug 13773
[integrated] net-tools ifup shouldn't use ifconfig -a
Last modified: 2007-05-19 09:11:58 UTC
The function in the ifup script to check if the interface is up uses ifconfig -a which lists both up and down interfaces. The function tries to pass the arguments to grep looking for an inet addr but you can still have a 'down' interface with a valid ip. I think this should be changed to ifconfig instead of ifconfig -a. This issue was found by using the xen networking scripts to setup a bridged network. I had to modify the ifup script on my system in this way to make ifup function the appropriate way so the network would work.
This is what it should be using: ifconfig $interface | grep -q " UP "
I think either ruskie's or my solution would be a valid replacement.
I'm not sure what the precise bug process is, but I think I did this right. If not, I'm requesting integration to the stable-rc and into stable, because it's been broke for a really long time.
Oops forgot commit ID abf1c680459fb0bba9db4718b4d2c9faaec21388
Approving abf1c680459fb0bba9db4718b4d2c9faaec21388 for stable and stable-rc.
Integrated to stable-rc-0.10 in commit b690f7bd781e601e04a8d14e824bc5566894036a Denying stable as a new stable will be out within the week.
closing out-of-stable bugs