Lionel Elie Mamane
2009-Jun-10 11:13 UTC
[Pkg-xen-devel] Bug#532603: xen-utils-3.2-1: incorrectly calls network-script
Package: xen-utils-3.2-1 Version: 3.2.1-2 Severity: normal In xend-config.sxp: (network-script 'network-camp netdev=eth0 bridge=xenbr0') /etc/xen/scripts/network-camp is the following simple script: --------------- begin script ----------- #!/bin/bash dir=$(dirname "$0") . "$dir/xen-script-common.sh" . "$dir/xen-network-common.sh" findCommand "$@" evalVariables "$@" echo $command --------------- end script ----------- This minimal configuration shows it is called twice with command=start on "/etc/init.d/xen start". This is not a big problem as the default scripts are idempotent, but it does make writing custom scripts harder. It also shows that on "/etc/init.d/xen stop", the script is called with command=start instead of command=stop. -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (700, 'stable'), (600, 'testing'), (300, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xen-utils-3.2-1 depends on: ii e2fslibs 1.41.3-1 ext2 filesystem libraries ii iproute 20090324-1 networking and traffic control too ii libc6 2.9-12 GNU C Library: Shared libraries ii libgcrypt11 1.4.4-2 LGPL Crypto library - runtime libr ii libgnutls26 2.6.6-1 the GNU TLS library - runtime libr ii libncurses5 5.7+20090523-1 shared libraries for terminal hand ii libsdl1.2debian 1.2.13-4+b1 Simple DirectMedia Layer ii libxenstore3.0 3.2.1-2 Xenstore communications library fo ii python 2.5.4-2 An interactive high-level object-o ii python-central 0.6.11 register and build utility for Pyt ii udev 0.141-1 /dev/ and hotplug management daemo ii xen-utils-common 3.2.0-2 XEN administrative tools - common ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime Versions of packages xen-utils-3.2-1 recommends: ii bridge-utils 1.4-5 Utilities for configuring the Linu ii xen-hypervisor-3.2-1-amd64 [x 3.2.1-2 The Xen Hypervisor on AMD64 Versions of packages xen-utils-3.2-1 suggests: ii xen-docs-3.2 3.2.1-2 Documentation for Xen -- no debconf information
Seemingly Similar Threads
- Bug#525169: xen-utils-3.2-1: FreeBSD (possbly others) do not work in Xen 3.2-1 due to real mode emulation bugs
- Bug#584804: xen-utils-common: xen-version does not include "extra" component; breaks xen 3.2-1 from lenny
- Xen networking experiment (with custom scripts and OpenVSwitch)
- Bug#648029: xen-utils-common: /usr/lib/xen-common/bin/xen-toolstack (and thus /usr/sbin/xm) works with bash, but not dash
- Bug#396477: network-bridge script exits prematurely