[Pkg-xen-devel] Bug#708396: xen-utils-common: network-bridge can't be used to create more than one bridge

John Hughes john at calva.com
Wed May 15 13:46:42 UTC 2013


Package: xen-utils-common
Version: 4.1.4-3+deb7u1
Severity: normal
Tags: patch

Dear Maintainer,

   * What led up to the situation?

I have a xen dom0 with more than one interface that I want to make bridges on

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I have my own bridge making script that calls network-bridge for each
interface.  This used to work in xen-4.0

   * What was the outcome of this action?

Only the first bridge got made

   * What outcome did you expect instead?

I expected the other bridges to be made too.

The problem is the "brctl show" in op_start.  It makes op_start if *any*
bridge already exists.  I guess it's supposed to check if the bridge being
created already exists.

I include a patch to fix the test, letting me create multiple bridges.

-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-utils-common depends on:
ii  gawk            1:4.0.1+dfsg-2.1
ii  lsb-base        4.1+Debian8
ii  python          2.7.3-4
ii  ucf             3.0025+nmu3
ii  udev            175-7.2
ii  xenstore-utils  4.1.4-3+deb7u1

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network-bridge.patch
Type: text/x-diff
Size: 312 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20130515/1235133b/attachment.patch>


More information about the Pkg-xen-devel mailing list