Bug 157252
Summary: | The activate device when computer starts (onboot) flag is not working | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Lupien <christian.lupien> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | leroy.vanlogchem, ralph+rh-bugzilla, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 8.11-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-05-10 19:12:28 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
Christian Lupien
2005-05-09 20:23:10 UTC
When are you seeing the interface brought up - during rc.sysinit? Earlier? Later? Nevermind, reproduced, currently debugging where it's coming from. Created attachment 114209 [details]
patch for this issue
Try this. I suppose if I have to fix the same bug in four places, it means I
should generalize this somewhere. :)
Fixes for this are in hotplug-2004_09_23-6, initscripts-8.11-1. (The fix is slightly different than the one posted, in that it's factored out into one function just called from all four places.) This type behaviour still exists when using aliased interfaces: http://bugs.centos.org/view.php?id=2363 --- /etc/sysconfig/network-scripts/ifup-aliases.bug 2007-09-27 11:29:40.000000000 +0200 +++ /etc/sysconfig/network-scripts/ifup-aliases 2007-09-27 11:30:23.000000000 +0200 @@ -321,6 +321,7 @@ for FILE in ifcfg-${parent_device}:* ; d is_ignored_file "$FILE" && continue ini_env; . $FILE; + [ "${ONBOOT}" = "no" -o "${ONBOOT}" = "NO" ] && continue [ -z "$DEVICE" ] && DEVICE=${FILE##ifcfg-} [ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface; unset DEVICE This should probably be moved to RHEL 5. (at least from #5 on) =:) It's not a bug... it's expected behavior. The mechanism for aliases is different. Bill, please share the insight you have on this different mechanism. Please point me to the right directions, thanks. Discard comment #8, I have read Bug 320211. Thanks again! |