VirtualBox

Ticket #12699 (closed defect: worksforme)

Opened 8 years ago

Last modified 6 years ago

closemedium: Cannot register because a hard disk already exists

Reported by: srats Owned by:
Component: virtual disk Version: VirtualBox 4.3.6
Keywords: Cc:
Guest type: all Host type: Linux

Description

Hi guys,

Here is a little bug I found playing with vboxmanage import/closemedium commands.

In short: having a double slash in the medium name cause it to be unclosable.

Attached, a script to reproduce the bug. The OVA used to reproduce the bug :  http://files2.genymotion.com/dists/4.1.1/ova/genymotion_vbox86p_4.1.1_140127_204331.ova

Tested on Ubuntu 13.10

samuel $>uname -a Linux srats-xps 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux samuel $>vboxmanage --version 4.3.6r91406

Attachments

bug.sh Download (1.6 KB) - added by srats 8 years ago.
Reproduction script

Change History

Changed 8 years ago by srats

Reproduction script

comment:1 Changed 6 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to worksforme

Works here with the latest VirtualBox release, so it was fixed at some point. Btw. closemedium will complain that the disk image is still attached to 1 VM, the image needs to be detached first and then closemedium works even if the path contains double slashes.

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use