Bug#704882: xen-create-image doesn't clean up on interrupt

2013-04-07 Thread Axel Beckert
Hi Mike,

Mike wrote:
 Control-C interrupt at the terminal leaves the domU LV mounted:

I think that's already fixed in Git as a lot of code changed around
the clean up on aborting, but I've to explicitly test it.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704882: xen-create-image doesn't clean up on interrupt

2013-04-06 Thread Mike
Package: xen-tools
Version: 4.3.1-1
Severity: minor

Control-C interrupt at the terminal leaves the domU LV mounted:


# xen-create-image --hostname=foo --verbose
[...]
Script /usr/lib/xen-tools/wheezy.d/95-configure-locales starting
[...]
Get:1 http://ftp.us.debian.org/debian/ wheezy/main locales all 2.13-38 [5712 kB]
^C
# xen-delete-image --hostname=foo --lvm=vg0 --verbose
Removing LVM disk volume
Executing : lvremove /dev/vg0/foo-disk --force
Running command 'lvremove /dev/vg0/foo-disk --force 21' failed.
Aborting
# mount
[...]
/dev/mapper/vg0-foo--disk on /tmp/whatever [...]
proc on /tmp/whatever/proc [...]
devpts on /tmp/whatever/dev/pts [...]
# 


Unmounting the domU mounts, xen-delete-image can proceed.

It could be argued that such an interrupt should also delete the LV.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org