Package: xen-tools
Version: 4.2-1
Severity: normal

If apt is configured with sources.list.d (and not sources.list), then
xt-guess-suite-and-mirror won't guess anything. It looks like it makes no
attempt at all to parse sources.list.d.

This means that xen-create-image, with the default xen-tools.conf with
reasonable modifications, will fail because it can't find any directory named
/usr/lib/xen-tools/.d, because the "dist" option is empty, because
xt-guess-suite-and-mirror doesn't write anything to stdout. Further, it exits
with zero status so the real problem is masked.

Setting the "dist" and "mirror" options to not use xt-guess-suite-and-mirror
seems to work around the problem, but given the silent failure of
xt-guess-suite-and-mirror, realizing this takes a bit of work.

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

Kernel: Linux 2.6.32-5-xen-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-tools depends on:
ii  debootstrap            1.0.26+squeeze1   Bootstrap a basic Debian system
ii  libconfig-inifiles-per 2.52-1            Read .ini-style configuration file
ii  libfile-slurp-perl     9999.13-1         single call read & write file rout
ii  libtext-template-perl  1.45-1            Text::Template perl module
ii  perl-modules           5.10.1-17squeeze2 Core Perl modules

Versions of packages xen-tools recommends:
ii  libexpect-perl                1.20-2     Expect.pm - Perl Expect interface
ii  rinse                         1.7-1      RPM installation environment
ii  xen-hypervisor-4.0-amd64 [xen 4.0.1-4    The Xen Hypervisor on AMD64
pn  xen-shell                     <none>     (no description available)

Versions of packages xen-tools suggests:
pn  btrfs-tools                   <none>     (no description available)
pn  cfengine2                     <none>     (no description available)
pn  evms-cli                      <none>     (no description available)
pn  reiserfsprogs                 <none>     (no description available)
ii  xen-utils-4.0 [xen-utils]     4.0.1-4    XEN administrative tools
pn  xfsprogs                      <none>     (no description available)

-- Configuration Files:
/etc/xen-tools/xen-tools.conf changed:
lvm = vmimages
install-method = debootstrap
size   = 2Gb      # Disk image size.
memory = 128Mb    # Memory size
swap   = 1Gb      # Swap size
fs     = ext3     # use the EXT3 filesystem for the disk image.
dist   = `xt-guess-suite-and-mirror --suite` # Default distribution to install.
image  = sparse   # Specify sparse vs. full disk images.
gateway    = 172.20.20.1
netmask    = 255.255.255.0
broadcast  = 172.20.20.255
passwd = 1
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`
mirror = `xt-guess-suite-and-mirror --mirror`
ext3_options     = noatime,nodiratime,errors=remount-ro
ext2_options     = noatime,nodiratime,errors=remount-ro
xfs_options      = defaults
reiserfs_options = defaults
btrfs_options    = defaults
pygrub = 1
vcpus = 1
role = macpros_puppet


-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to