Package: xen-tools
Version: 3.8-4
Severity: important
A script of mine (a bash script using set -ex) did this:
...
The LVM disk image already exists. Aborting.
Specify '--force' to delete and recreate
Logfile produced at:
/var/log/xen-tools/thule-2.log
+ mount /dev/vg-thule/thule-2-disk /mnt
+ echo 'hwcap 0 nosegneg'
This is due to this code in xen-create-image:
if ( -e $disk )
{
logprint( "The partition image already exists. Aborting.\n" );
logprint( "Specify '--force' to overwrite, or remove the follow\
ing file\n" );
logprint( $disk . "\n" );
exit;
}
`exit' should read `exit 127' or some such.
This bug might easily cause data loss.
Ian.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]