Bug 217871
| Summary: | Adding a 802.1q vlan brings down interfaces | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ventsislav Genchev <vigour> | ||||||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 8 | CC: | rvokal, triage | ||||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | initscripts-8.60-1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2008-05-17 11:19:53 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
Ventsislav Genchev
2006-11-30 15:25:28 UTC
By last debugs the problem was found to be in ifup-post... still debuging to locate the exact source... ifup-aliases ... line 366:
/sbin/ifconfig $parent_device:${DEVNUM} down
That line brings my interfaces down... still looking for the exact source
The fresh updated initscripts-8.45.7-1 still has the bug Created attachment 147007 [details]
Temporary workarround
I really don't have the time to go deeper and deeper into those initscripts..
especially when there is no usefull documentation about what is ment with some
lines... e.g. "Remove any devices that should not be around"
This patch comments out some lines in the ifup-aliases script and actually
fixes the problem... I can't say for sure if it harms something, but after all
the tests I've done with my systems it showed no problems...
Can you attach your config files? Created attachment 152875 [details]
eth0 configuration file
Second octet is hidden for the public
Created attachment 152876 [details]
Local ip address - config file
Sure...
attaching ifcfg-eth0 # ip address is hidden for the public
and ifcfg-eth0:1
eth0:0 is not brought down when I manage vlan interfaces, but if I for an
instance bring up eth0:1 just like: ifconfig eth0:1 10.0.0.1 up, and try to add
and then remove some 802.1q vlan with: vconfig add eth0 12, vconfig rem eth0.12,
alias interface eth0:1 disapears..
I found that if I comment out the follwing lines in ifup-aliases, the problem is
resolved.. I can't really say if this will harm something else in the system,
but for me solves the problems:
# Remove any devices that should not be around
#
for DEVNUM in $rdev_LIST ; do
eval " rdev_mark=\$rdev_${DEVNUM}_mark ";
if [ -z "$rdev_mark" ]; then
##echo "removing device $parent_device:${DEVNUM} (lingering)"
/sbin/ifconfig $parent_device:${DEVNUM} down
do_netreport=yes
fi
done
#
# Notify of new device creation
#
PS: Be aware.. HWADDR must be present in the config file in order to reproduce the bug... This bug is still present for initscripts-8.54.1-1 in F7. The temp workaround given in the previous comments is solving the issue. This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists. Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs: http://docs.fedoraproject.org/release-notes/ The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Sorry about the delay. What happens if you add 'HOTPLUG=no' to your ifcfg file? I have tested the problem on initscripts-8.76.1-1 (Fedora 9) and it showed no problem... I suppose it is fixed somewhere on the way... Also I've tested the initscripts-8.60-1 on F8 and it also seems ok.. |