package: xen-tools
version: 3.0-1

I just managed to overwrite an existing vm config file in /etc/xen
with xen-create-image

The problem why it didn't stop was, it seems to only check if a given
lvm or disk already exists.
This did not save from deleting the existing config because I changed
my lvm group's name, and accidentally started an install of the wrong
vm which I didn' intend to.

It seems not to check, if the vm config file it is about to create
already exists and just overwrote an existing config.
While in this case I don't blame xen-tools for my own errors, I think
it's generally a important to check if a config file already exists,
and only overwrite it with --force.

Also interesting: the config file was also written when the lvm volume
couldn't be created. It seemd like xen-tools doesn't realize if
there's an error in lvm creation (ganna add an extra bug for this).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to