VirtualBox

Opened 15 years ago

Closed 8 years ago

#2583 closed defect (obsolete)

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

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

Description (last modified by aeichner)

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

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

Download all attachments as: .zip

Change History (2)

by Andreas, 15 years ago

Attachment: Solaris 10 5_08.xml added

.xml configuration file to the erroneous configuration

comment:1 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use