Debian Bug report logs - #503046
xen-utils-3.2-1: inadequate error handling for the case of a failure to use a loopback device

version graph

Package: xen-utils-3.2-1; Maintainer for xen-utils-3.2-1 is (unknown);

Reported by: Russell Coker <russell@coker.com.au>

Date: Wed, 22 Oct 2008 03:21:01 UTC

Severity: normal

Found in version xen-3/3.2.1-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Xen Team <pkg-xen-devel@lists.alioth.debian.org>:
Bug#503046; Package xen-utils-3.2-1. (Wed, 22 Oct 2008 03:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Russell Coker <russell@coker.com.au>:
New Bug report received and forwarded. Copy sent to Debian Xen Team <pkg-xen-devel@lists.alioth.debian.org>. (Wed, 22 Oct 2008 03:21:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Russell Coker <russell@coker.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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
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.




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 04:14:54 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.