[Pkg-xen-devel] Bug#588477: network-bridge: start: 95 sec sleep/bridge without a default gateway
Asbjørn Sloth Tønnesen
asbjorn at asbjorn.it
Thu Jul 8 20:02:52 UTC 2010
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
More information about the Pkg-xen-devel
mailing list