[Pkg-xen-devel] Bug#677244: Bug#677244: xen-utils-common: xen-toolstack fails if either `xm` or `xl` is not found in xen-dir
Colomban Wendling
lists.ban at herbesfolles.org
Tue Jun 12 22:25:29 UTC 2012
Le 12/06/2012 22:19, Bastian Blank a écrit :
> On Tue, Jun 12, 2012 at 05:42:41PM +0200, Colomban Wendling wrote:
>> The script /usr/lib/xen-common/bin/xen-toolstack improperly aborts if *either*
>> `xm` or `xl` cannot be found in the xen-dir (/usr/lib/xen-4.0/bin).
>
> Current is 4.1, so a default installation is not affected.
As the report says, I *have* version 4.1.2. Moreover I actually
installed it for the first time today so it cannot be an upgrade issue.
Anyway the directory under /usr/lib is xen-4.0, there is no other xen-*.
Anyway this problem has nothing to do with the actual path, version or
anything but with the fact that the script that searches for an usable
toolstack fails if *any* of the toolstack it checks for is missing,
which is obviously wrong. -- and this is a problem in the default
installation because the `xl` toolstack isn't installed by default.
However, note that a working workaround is to specify a toolstack (xm)
in /etc/default/xen so the script won't check for an non-existing one
and thus won't fail. But again, this has to be done manually and in
this case is only a workaround for a bug in the script.
Regards,
Colomban
More information about the Pkg-xen-devel
mailing list