Ticket #2583 (closed defect: obsolete)
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 (last modified by aeichner) (diff)
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
Change History
Changed 9 years ago by andyfloe
-
attachment
Solaris 10 5_08.xml
added
comment:1 Changed 21 months ago by aeichner
- Status changed from new to closed
- Resolution set to obsolete
- Description modified (diff)
Please reopen if still relevant with a recent VirtualBox release.
.xml configuration file to the erroneous configuration