Ticket #2298 (closed defect: worksforme)
Unreadable shared folder leads to broken Machine XML
|Reported by:||njw||Owned by:|
One of my VirtualBox shared folders is a samba mount, and at times is not connected. Upon opening VirtualBox, presumably after it had been previously running when the samba mount was unreadable, I found that it complained that my Virtual Machine XML description was invalid, as the required attribute "name" was not present for the shared folders for the latest snapshot. It turned out that the line in question was changed from: <SharedFolder hostPath="/mnt/monster-shared" name="shared" writable="true"/> to <SharedFolder writable="true"/>
Changing it back worked fine.
Therefore presumably upon finding that the shared folder was inaccessible VirtualBox tried to remove the SharedFolder entry, but didn't quite do it right.
VirtualBox version 1.5.6_OSE on Ubuntu 8.04