Asbjørn Sloth Tønnesen
2010-Jul-08 20:02 UTC
[Pkg-xen-devel] Bug#588477: network-bridge: start: 95 sec sleep/bridge without a default gateway
Package: xen-utils-common Version: 4.0.0-1 Severity: normal Tags: patch do_ifup() in network-bridge exits badly, if the interface doesn't have a default gateway. Since it's wrapped in xen's locking script it causes it to be retied 100 times and sleep for 95 seconds before it continues. In my setup this amounts to: 16 vlans without a default gateway * 95 secs / bridge = 25 minutes nap Zzzz... Fix from Katharina Haselhorst [1]:> A workaround is to substitute > [ -n "$gateway" ] && ip route add default via ${gateway}on line 118> > with > if [ -n "$gateway" ]; then > ip route add default via ${gateway} > fi[1] /etc/xen/scripts/network-bridge: line 118: sigerr: command not found http://lists.xensource.com/archives/html/xen-users/2010-06/msg00420.html -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-common depends on: ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii udev 158-1 /dev/ and hotplug management daemo ii xenstore-utils 3.4.3-1 Xenstore utilities for Xen xen-utils-common recommends no packages. xen-utils-common suggests no packages. -- Configuration Files: /etc/xen/scripts/network-bridge changed [not included] /etc/xen/xend-config.sxp changed [not included] -- no debconf information
Bastian Blank
2010-Jul-11 18:06 UTC
[Pkg-xen-devel] Bug#588477: Bug#588477: network-bridge: start: 95 sec sleep/bridge without a default gateway
On Thu, Jul 08, 2010 at 08:02:52PM +0000, Asbj?rn Sloth T?nnesen wrote:> do_ifup() in network-bridge exits badly, if the interface doesn't have a > default gateway.Please read /usr/share/doc/xen-utils-common/README.Debian.> Fix from Katharina Haselhorst [1]: > > A workaround is to substitute > > [ -n "$gateway" ] && ip route add default via ${gateway} > on line 118 > > > > with > > if [ -n "$gateway" ]; then > > ip route add default via ${gateway} > > fi > > [1] /etc/xen/scripts/network-bridge: line 118: sigerr: command not found > http://lists.xensource.com/archives/html/xen-users/2010-06/msg00420.htmlPlease submit upstream. This configuration is discouraged in Debian. Bastian -- Violence in reality is quite different from theory. -- Spock, "The Cloud Minders", stardate 5818.4
Debian Bug Tracking System
2012-Jul-25 16:48 UTC
[Pkg-xen-devel] Processed: Re: [Xen-devel] [PATCH] hotplug: network-bridge: fix for interfaces with no gateway
Processing control commands:> tag -1 +fixed-upstreamBug #588477 [xen-utils-common] network-bridge: start: 95 sec sleep/bridge without a default gateway Added tag(s) fixed-upstream. -- 588477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588477 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Seemingly Similar Threads
- Bug#588477: [PATCH] hotplug: network-bridge: fix for interfaces with no gateway
- Spurious warning when calling data() ?
- Strange result from sort: sort(c("aa", "ff")) gives "ff" "aa" with R.2.12.1 on windows 7
- Package "datasets" not exporting anything on a recent R-2.15.1-patched
- rsync with danish chars in filename