|
Bugzilla – Full Text Bug Listing |
| Summary: | use of PERSISTENT_NAME in ifcfg-br0 to configure bridge | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Diego Ercolani <diego.ercolani> |
| Component: | Network | Assignee: | Christian Zoz <zoz> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | 32bit | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Integration Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Diego Ercolani
2006-11-09 14:23:27 UTC
What issues? Can it be related to bug 193216? I'm not allowed to see 193216 Can you see it now? yes, but with my installation bridge starts at boot! I'm going to explain, I hope.... OpenSUSE version is 10.2Beta1+ (current developing) or better, was installed October 6 2006). Only if I use PERSISTENT_NAME bridge have to be restarted maually after boot-up. I give you my WORKING ifcfg-br0 configuration /etc/sysconfig/network/ifcfg-br0: STARTMODE='auto' BOOTPROTO='static' IPADDR='192.168.10.99' NETMASK='255.255.255.0' BROADCAST='192.168.10.255' BRIDGE='yes' BRIDGE_PORTPRIORITIES='50 20' DHCLIENT_WAIT_AT_BOOT=30 BRIDGE_PORTS='eth-id-00:0d:88:2e:74:a1 eth-id-00:15:e9:f1:ad:54' #PERSISTENT_NAME=examplename and ethernet configurations ifcfg-eth-id-00:0d:88:2e:74:a1: BOOTPROTO='dhcp' UNIQUE='rBUF.g1Ba_umQFy6' STARTMODE='off' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='' NETMASK='' NETWORK='' REMOTE_IPADDR='' USERCONTROL='no' ifcfg-eth-id-00:15:e9:f1:ad:54: BOOTPROTO='dhcp' BROADCAST='' ETHTOOL_OPTIONS='' IPADDR='' MTU='' NAME='D-Link DFE-538TX 10/100 Ethernet Adapter' NETMASK='' NETWORK='' REMOTE_IPADDR='' STARTMODE='off' UNIQUE='JNkJ.g1Ba_umQFy6' USERCONTROL='no' _nm_name='bus-pci-0000:00:10.0' If I remove the '#' before PERSISTENT_NAME definition, the bootup process doesn't configure the bridge. PERSISTENT_NAME was never intended for virtual interfaces like bridge interfaces. And since we provide persistent interface names via udev rules now, PERSISTENT_NAME is obsolete (just there for backward compliance). Nevertheless i will have a look at it. But not for 10.2. Ok. Is it possile to add for 10.2 a warning/error message so people doesn't use it? something like..... [ -z "$PERSISTENT_NAME" ] || echo "Warning/Error PERSISTENT_NAME not allowed for virtual interfaces, please see /usr/share/doc....." thank you Diego I dropped PERSISTENT_NAME completely. For physical interfaces there is /etc/udev/rules/{70,75}*net*rules. And some virtual interfaces like bridges or bonding interfaces can just use the wanted name as configuration name.
If you create a bridge config file ifcfg-mybridge you may call then just ifup/down mybridge. It will also be set up at boot time.
Try 10.3 Alpha 7 as soon as available.
|