Russell Coker
2008-Oct-22 03:20 UTC
[Pkg-xen-devel] Bug#503046: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device
Package: xen-utils-3.2-1 Version: 3.2.1-2 Severity: normal When a DomU is defined as using a file: device the loopback driver will be used to make it appear to be a regular block device. The loopback driver will by default only support 8 nodes so this is a limited resource. http://etbe.coker.com.au/2008/10/22/kernel-issues-with-debian-xen-and-centos-kernels/ 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.
Ian Campbell
2015-Aug-21 15:30 UTC
[Pkg-xen-devel] Bug#503046: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device
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.
Debian Bug Tracking System
2015-Aug-21 15:33 UTC
[Pkg-xen-devel] Processed: Re: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device
Processing control commands:> tags -1 +moreinfoBug #503046 [src:xen] xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device Added tag(s) moreinfo. -- 503046: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503046 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Debian Bug Tracking System
2015-Aug-21 15:33 UTC
[Pkg-xen-devel] Processed: Re: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device
Processing control commands:> tags -1 +moreinfoBug #503046 [src:xen] xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device Ignoring request to alter tags of bug #503046 to the same tags previously set -- 503046: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503046 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Hans van Kranenburg
2019-Feb-22 15:35 UTC
[Pkg-xen-devel] Bug#503046: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device
Hi Russell, This is about Debian bug report #503046 that you filed before in the Debian bug tracker, against the Xen packages. Your bug report was targeted at a Xen package in a Debian distribution older than the current stable (Stretch). Can you please help us by confirming that any of the following scenarios does apply to your situation? * I had this problem a long time ago. It was never solved, but I found a workaround, which is ... * I had this problem a long time ago, and I solved it by not using Xen any more, but by doing ... * I still experience this problem, and I'm still using Xen 3.2/4.1/4.4/etc. I cannot upgrade to Debian Stretch or Buster because ... * I had this problem, and since upgrading to Stretch / Buster / ? it seems it was solved, and I forgot to report it again. Please close it, thanks. * Other: ... Note that even if you found a solution, it's still very useful to report it back to our bug tracker. There might be someone else running into the same problem, who can be helped with your information. Please note that unless there's a response within a while from now, we will close the bug report. If you discover this message later, and this case is important to you, then you can try unarchiving the bug and replying to it, or reach out to the maintainers email list at pkg-xen-devel at lists.alioth.debian.org (no subscription required) and post a message. Thanks, Hans van Kranenburg
Debian Bug Tracking System
2019-Feb-22 21:33 UTC
[Pkg-xen-devel] Bug#503046: marked as done (xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device)
Your message dated Fri, 22 Feb 2019 22:28:03 +0100 with message-id <79dbac90-249d-cb00-8be6-60bcef1433b0 at knorrie.org> and subject line Re: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device has caused the Debian Bug report #503046, regarding xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 503046: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503046 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Russell Coker <russell at coker.com.au> Subject: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device Date: Wed, 22 Oct 2008 14:20:10 +1100 Size: 2885 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20190222/c3af737f/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Hans van Kranenburg <hans at knorrie.org> Subject: Re: xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device Date: Fri, 22 Feb 2019 22:28:03 +0100 Size: 7594 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20190222/c3af737f/attachment-0001.mht>
Apparently Analagous Threads
- Bug#799986: xen-utils-common: please create /var/run/xen-hotplug from an init script
- Bug#554805: xen-utils-3.2-1: ioemu routed networking on HVM guests fails
- Bug#618576: xen-3.2-1: VNC display over HVM XEN 3/Lenny AMD64, displays a blank screen when Debian-Installer Squeeze AMD64 is running on it
- Bug#597403: xen-utils-common: need to run restorecon in /etc/init.d/xend on SE Linux systems
- Bug#806226: xen-hypervisor-4.6-amd64: Can't start a VM