Package: xen-tools
Version: 3.9-6
Severity: normal
Tags: patch

When selecting rinse as the installation-method it writes an error to
its log file. The command used was:

xen-create-image --hostname=centos --dist=centos-5 \
--install-method=rinse

Excerpt from /var/log/xen-tools/centos.log:

>Installation method: rinse
>The following required binary for the installation was not found
>  /usr/bin/rinse
>Done
>System installation failed.  Aborting

This happens because the rinse package installs its binary in /usr/sbin/
and not in /usr/bin as expected by xen-tools.
The attached patch should fix this by setting the path for rinse to
/usr/sbin/rinse in xt-install-image.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-xen-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  libconfig-inifiles-perl       2.39-5     Read .ini-style configuration file
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  perl-modules                  5.10.0-19  Core Perl modules

Versions of packages xen-tools recommends:
ii  libexpect-perl                1.20-2     Expect.pm - Perl Expect interface
ii  reiserfsprogs                 1:3.6.19-6 User-level tools for ReiserFS file
ii  rinse                         1.5-1      RPM installation environment
ii  xen-hypervisor-3.2-1-i386 [xe 3.2.1-2    The Xen Hypervisor on i386
ii  xen-shell                     1.9-1      Console based Xen administration u
ii  xfsprogs                      2.10.2-1   Utilities for managing the XFS fil

xen-tools suggests no packages.

-- no debconf information
--- xen-tools-3.9/bin/xt-install-image  2009-01-08 15:42:01.629736478 +0100
+++ xen-tools-3.9/bin/xt-install-image  2009-01-08 15:42:28.270501726 +0100
@@ -143,7 +143,7 @@
                  },
                  "rinse" => {
                              sub        => \&do_rinse,
-                             needBinary => "/usr/bin/rinse",
+                             needBinary => "/usr/sbin/rinse",
                  },
                  "rpmstrap" => {
                                 sub        => \&do_rpmstrap,

Reply via email to