VirtualBox

Opened 11 years ago

Closed 8 years ago

#12699 closed defect (worksforme)

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 (1)

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

Download all attachments as: .zip

Change History (2)

by srats, 11 years ago

Attachment: bug.sh added

Reproduction script

comment:1 by aeichner, 8 years ago

Resolution: worksforme
Status: newclosed

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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette