[Pkg-xen-devel] Bug#417243: xen-utils-common: Should display a usable error message when there is a config file error

Russell Coker russell at coker.com.au
Sun Apr 1 23:38:42 UTC 2007


Package: xen-utils-common
Version: 3.0.3-0-2
Severity: normal

When a block device name is wrong (the device does not exist) it should say
"block device /dev/foo/bar does not exist" instead of waiting for ages and
giving the following error:
Using config file "/etc/xen/ha2".
Error: Device 768 (vbd) could not be connected. Hotplug scripts not working.

Also the following parsing error is inadequate, it should at least give the
user a clue as to where the error lies.  What does "22" mean, is it a config
file line number?  It doesn't even say that the error is in /etc/xen/foo.

Error: (22, 'Invalid argument')


-- 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-3-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.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-4    /dev/ and hotplug management daemo

xen-utils-common recommends no packages.

-- no debconf information




More information about the Pkg-xen-devel mailing list