Mailinglist Archive: opensuse-bugs (5322 mails)

< Previous Next >
[Bug 281966] New: bridge initialization ifup script should honor configuration of bridge port devices
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 7 Jun 2007 10:52:02 -0600 (MDT)
  • Message-id: <bug-281966-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=281966

           Summary: bridge initialization ifup script should honor
                    configuration of bridge port devices
           Product: openSUSE 10.3
           Version: Alpha 4plus
          Platform: i586
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basesystem
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: ezra.pagel@xxxxxxxxx
         QAContact: qa@xxxxxxx


Bridge port devices might have configuration settings that need to be retained
as bridge port members (like link promiscuity mode, MTU, and so on). While it
might not make sense for a bridge port device to have an IP identity, many of
the ifcfg-ethX settings are still applicable. The current init script just sets
the link mode before adding/removing the interface, which disregards the
constituent device's configuration settings. Please use ifdown/ifup.


113,115c113, 
<               MESSAGE=`ifdown "$PORT_INTERFACE" && \
<                          brctl addif "$INTERFACE" "$PORT_INTERFACE" && \
<                          ifup "$PORT_INTERFACE"`
---
>                 MESSAGE=`ip link set dev "$PORT_INTERFACE" up && brctl addif "$INTERFACE" "$PORT_INTERFACE"`
159c157
<                       MESSAGE=`ifdown "$PORT_INTERFACE"`
---
>                         MESSAGE=`ip link set dev "$PORT_INTERFACE" down`


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >