[SM-Grimoire-Bugs] [Bug 13773] New: net-tools ifup shouldn't use ifconfig -a

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Fri May 11 13:21:36 EDT 2007


           Summary: net-tools ifup shouldn't use ifconfig -a
           Product: Codex
           Version: stable grimoire
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: net
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: dmlb2000 at gmail.com

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.

Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the SM-Grimoire-Bugs mailing list