Bug 132839
Summary: | ifup dies horrid death if a ifcfg-eth* exists but device doesn't. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Valdis Kletnieks <valdis.kletnieks> | ||||||
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: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 7.82-1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-09-17 20:40:41 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: | |||||||||
Attachments: |
|
Description
Valdis Kletnieks
2004-09-17 18:17:20 UTC
Created attachment 103960 [details]
Patch to make ifup skip defined but nonexistent devices
The fact that the system hangs after rename_device gets called several times with bad parameters (invoking /sbin/nameif and creating several 'dev$RANDOM' interfaces) is a separate kernel bug I'll file once I track the exact details down (possibly on the lkml and/or linux-netdev lists, as I'm running a -mm kernel). Surely you want -z, not -n? Created attachment 103966 [details]
better patch
This is what's going into 7.82-1.
OK.. I can live with your patch,it fixes the problem too.. I'll let somebody else decide whether or not we want the echo that says "Device not found" (certainly makes it easier to debug if you see the FAILED during system boot, as you have at least a wild guess where to look)... It should fall through to the: echo $"$alias device ${DEVICE} does not seem to be present, delaying initialization." case. Unless there's no modprobe.conf entry, then it will fail silently. |