Content-Type: multipart/mixed; boundary="===============0382030028=="
MIME-Version: 1.0
From: Albert Dengg <a_d@gmx.at>
To: Debian Bug Tracking System <395305@bugs.debian.org>
Subject: xen-utils-common: here is a small patch to correctly handle long domU
names
in parseln
Message-ID: <20070317182707.16837.48971.reportbug@audhumbla.dengg.priv.at>
X-Mailer: reportbug 3.31
Date: Sat, 17 Mar 2007 19:27:07 +0100
X-Debbugs-Cc: a_d@gmx.at, a_d@gmx.at
This is a multi-part MIME message sent by reportbug.
--===============0382030028=Content-Type: text/plain;
charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: xen-utils-common
Version: 3.0.3-0-2
Followup-For: Bug #395305
here is a small patch for /etc/init.d/xendomains to correctly handle
long domU names.
it could, however, lead to problems if a name contains a ' '.
(don't now if they would actually be valid for xen anyway)
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-vserver-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xen-utils-common depends on:
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
ii udev 0.105-3 /dev/ and hotplug management daemo
xen-utils-common recommends no packages.
-- no debconf information
--===============0382030028=Content-Type: text/plain;
charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="xendomains-name.diff"
131c131
< name=`echo "$1" | cut -c0-17`
---> name=`echo "$1" | cut -d\ -f1`
133c133
< rest=`echo "$1" | cut -c18- `
---> rest=`echo "$1" | cut -d\ -f2- `
--===============0382030028==--