VirtualBox

Ticket #2583 (new defect)

Opened 5 years ago

Shared Folder still in configuration file and checked even if it is not any more used

Reported by: andyfloe Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.0.4 Keywords:
Cc: Guest type: Solaris
Host type: Linux

Description

I used a shared folder '/data/export/local/admin' for a Solaris 10 guest. Then I removed it from the list of shared folders. When I now try to boot the guest I got the following error

Shared folder path '/data/export/local/admin' is not absolute.

Result Code: 
NS_ERROR_INVALID_ARG (0x80070057)
Component: 
SharedFolder
Interface: 
ISharedFolder {8b0c5f70-9139-4f97-a421-64d5e9c335d5}

Meanwhile I had the folder moved to a different partition and added a symbolic link to it. This error is strange because of two reasons. First of all, I would have not expected any dependency of this folder by the guest, since I had removed it from the configuration. Secondly, I would feel that a symbolic link should be OK here as well as long as it points to an existing target, which it does.

When removing the link and creating the directory hierarchy the guest boots well. The "Shared Folders" menu does not have an entry for '/data/export/local/admin'. Still the .xml file for the guest has the following entry

...
        <SharedFolders>
          <SharedFolder name="admin" hostPath="/data/export/local/admin" writable="true"/>
        </SharedFolders>
...

I suspect that the .xml configuration does not get clean up properly and the checking code does not take into account that the virtual machines does not have this shared folder dependency. Please find the complete .xml file.

Attachments

Solaris 10 5_08.xml Download (5.7 KB) - added by andyfloe 5 years ago.
.xml configuration file to the erroneous configuration

Change History

Changed 5 years ago by andyfloe

.xml configuration file to the erroneous configuration

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use