Bug 131461
Summary: | rawhide-20040901 with Ethernet modules not loaded, initscripts reports "OK" for Bringing up interface eth*: | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Reed <djr> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 8.08-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-15 19:41:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 136451 |
Description
Daniel Reed
2004-09-01 16:25:04 UTC
*** This bug has been marked as a duplicate of 131441 *** This is a bug in the initscripts related to the interfaces being reported as "OK"; it is not specifically related to 131452/131441. If it's reproduced in the context of working modutils, please reopen. Seriously, module-init-tools was broken enough that all sorts of things can and would break. *** This bug has been marked as a duplicate of 131441 *** Steps to Reproduce: 1. sed s/eth0/eth2/ < /etc/sysconfig/network-scripts/ifcfg-eth0 > /etc/sysconfig/network-scripts/ifcfg-eth2 2. service network restart The scripts will mark that it is trying to bring up eth2 and immediately report " OK ". This is with the correct modutils package. What eth* aliases do you have in /etc/modprobe.conf? My /etc/modprobe.conf is 0 bytes. My eth0 (airo) and eth1 (e1000) work fine (airo and e1000 are both loaded without entries in modprobe.conf or modprobe.conf.dist). The problem is, I invented the concept of eth2 in terms of ifcfg-eth2, the initscripts reported that they were bringing up the non-existent eth2, then reported success at doing so! In some strange ways this might make sense, but in view of the possibility that actually-existing Ethernet devices might become unavailable do to unrelated problems (such as the earlier modprobe problem), it seems unwise to allow the initscripts to lie about the status of an interface-upping. ifup eth2 returns $?=0 in this situation. It should probably be that this returns a failure code. Fixed in 8.08-1. |