[Pkg-xen-devel] Bug#503046: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device

Ian Campbell ijc at debian.org
Fri Aug 21 15:30:04 UTC 2015


Control: tags -1 +moreinfo

On Wed, 22 Oct 2008 14:20:10 +1100 Russell Coker <russell at coker.com.au> wrote:

Thanks for the report, sorry that it seems to have slipped through the
cracks.

> If there is a problem that prevents correctly allocating the block
> device (see the above URL for a description of how I encountered it when
> using a CentOS kernel) then it will not free the loop device.  When the
> domain is destroyed with "xm destroy" it will leave the loopback device,
> if you run that a few times (EG you have a script to restart DomU's on
> error) then you run out of loopback devices for the system.
> 
> The error handling code needs to deal with this case.

Looking at the current upstream code it seems things have changed since
this report was filed, and I know that xl is a bit better about
handling of when the hotplug scripts are run on teardown etc.

So I have a reasonably high hope that this issue has gone away, can you
confirm?

Thanks,

Ian.



More information about the Pkg-xen-devel mailing list