VirtualBox

Opened 11 years ago

Closed 11 years ago

#11719 closed defect (fixed)

guestproperty set does not persist => Fixed in SVN

Reported by: Scott Hankin Owned by:
Component: guest control Version: VirtualBox 4.2.12
Keywords: guestproperty Cc:
Guest type: Linux Host type: Windows

Description

Setting a guestproperty does not persist between boots. This is a regression.

The Host is Windows 7. The Guest is Ubuntu 13.04 beta.

With the guest booted, I run

VBoxManage guestproperty set "<VM name>" /VirtualBox/GuestAdd/SharedFolders/MountDir <guest mount path>

I verify it has been set with "enumerate". I shutdown the VM.

After shutdown, the VM's vbox file contains a single line for guest properties:

<GuestProperties/>

unaltered by my set command. On booting, enumerate does not show the property.

This is a relatively new VM. On an older VM, whose vbox file shows a lits of GuestProperties, they are not updated. For example, /VirtualBox/GuestAdd/Version shows as 4.2.10 in the vbox file, but 4.2.12 when the guest is running and enumerate is run.

Attachments (2)

Ubuntu 13.04 64-bit beta.vbox (7.6 KB ) - added by Scott Hankin 11 years ago.
vbox file after running getproperty set command
VBox.log (103.5 KB ) - added by Scott Hankin 11 years ago.
Log file for the VM

Download all attachments as: .zip

Change History (10)

by Scott Hankin, 11 years ago

vbox file after running getproperty set command

by Scott Hankin, 11 years ago

Attachment: VBox.log added

Log file for the VM

comment:1 by Michael Thayer, 11 years ago

Do other operations on the machines change the XML configuration files?

in reply to:  1 comment:2 by Scott Hankin, 11 years ago

Replying to michael:

Do other operations on the machines change the XML configuration files?

Yes - if I add a directory to the Share Folders, for example, it is reflected in the XML file. I've only seen this problem with guest properties - only they seem to be unsaved.

comment:3 by Frank Mehnert, 11 years ago

I cannot reproduce this. I assume that your VM or the VBoxSVC daemon crashes during shutdown. Can you always reproduce this problem?

comment:4 by Scott Hankin, 11 years ago

I can always reproduce this. Neither the VM nor VBoxSVC.exe crash during shutdown.

Is there anything I can provide to help with this?

comment:5 by Frank Mehnert, 11 years ago

Sorry for the confusion, now I can reproduce it as well. This problem will be fixed in the next maintenance release. Thank you for the report!

comment:6 by Frank Mehnert, 11 years ago

Summary: guestproperty set does not persistguestproperty set does not persist => Fixed in SVN

It would be great if you could try this test build and could confirm that the problem is really fixed. Thank you!

comment:7 by Scott Hankin, 11 years ago

Indeed it does - I now see GuestProperty lists in my .vbox file, and the changes I make persist. Thank you for fixing this!

comment:8 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.2.14.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use