Moonwalker
2011-May-03 23:22 UTC
[Pkg-xen-devel] Bug#625506: /etc/xen/scripts/network-bridge script fails with additional bridges
Package: xen-utils-common Version: 4.1.0~rc6-1 Recently I had troubles with creating more than one network bridge for my domU. For example, I have 2 domU running with xenbr0 bridge for both with peth0 and two vif#.0 interfaces in it. Everything is fine. Now I need to run another one domU with a different bridge attached to a different interface. I'm trying to bring up a new bridge manually (before I change any config files or networking scripts): /etc/xen/scripts/network-bridge start bridge=xenbr1 netdev=dummy0 But... If I already have xenbr0 up and running it will not work (and the script terminates absolutely silently, damn). It appears that the following statement in /etc/xen/scripts/network-bridge script causes such behaviour: if [ `brctl show | wc -l` != 1 ]; then return fi It seems that something is completely wrong here. Why should it check in a such way (counting command output lines, LOL) for _any_ bridges presence, not a specific one passed to the script? With this condition removed the second bridge is created and brought up just as expected.
Bastian Blank
2011-May-04 07:45 UTC
[Pkg-xen-devel] Bug#625506: Bug#625506: /etc/xen/scripts/network-bridge script fails with additional bridges
Please read /usr/share/doc/xen-utils-common/README.Debian. Because the use of the network setup scripts is discouraged and xl -- aka the future -- doesn't seem to support them at all, I won't fix bugs on my own. Bastian -- I'm a soldier, not a diplomat. I can only tell the truth. -- Kirk, "Errand of Mercy", stardate 3198.9
Debian Bug Tracking System
2012-May-06 14:00 UTC
[Pkg-xen-devel] Bug#625506: marked as done (/etc/xen/scripts/network-bridge script fails with additional bridges)
Your message dated Sun, 6 May 2012 15:57:55 +0200 with message-id <20120506135755.GB12237 at wavehammer.waldi.eu.org> and subject line network-bridge not supported has caused the Debian Bug report #625506, regarding /etc/xen/scripts/network-bridge script fails with additional bridges to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 625506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625506 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Moonwalker <moonwalker at hotbox.ru> Subject: /etc/xen/scripts/network-bridge script fails with additional bridges Date: Wed, 04 May 2011 03:22:48 +0400 Size: 3112 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120506/2f8a18a3/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: network-bridge not supported Date: Sun, 6 May 2012 15:57:55 +0200 Size: 1492 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120506/2f8a18a3/attachment-0001.mht>