VirtualBox

13 年 前 建立

8 年 前 結束

#8973 closed defect (obsolete)

"VBoxManage modifyvm --name" fails to rename config file

回報者: Vladimir Marek 負責人:
元件: other 版本: VirtualBox 4.0.8
關鍵字: 副本:
Guest type: other Host type: other

描述 (由 galitsyn 作最後更新)

Machine exists and has correct config file

$ VBoxManage showvminfo appliance.2010.q3.1.0 | grep Config\ file
Config file:     /dir/user/test/appliance.2010.q3.1.0.vbox

$ VBoxManage modifyvm appliance.2010.q3.1.0 --name test

... no issue there

$  VBoxManage modifyvm appliance.2010.q3.1.0 --name test
VBoxManage: error: Could not find a registered machine named 'appliance.2010.q3.1.0'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 336 of file VBoxManageModifyVM.cpp

... The configuration file is set still to the same path:

$ cat $VBOX_USER_HOME/*xml | grep MachineEntry
      <MachineEntry uuid="{84e0c697-7a89-70c1-2dbb-76dd396a90e9}" src="/dir/user/test/appliance.2010.q3.1.0.vbox"/>

... But it was actually renamed:

$ ls /dir/user/test/*.vbox
/dir/user/test/test.vbox

Changing the $VBOX_USER_HOME/VirtualBox.xml so that it points to test.vbox fixes things.

It might be releated, I don't have my .VirtualBox in standard path, but I'm rather using

$ echo $VBOX_USER_HOME
/dir/user/.VirtualBox

Thank you --

Vlad

更動歷史 (4)

comment:1 13 年 前Vladimir Marek 編輯

One more comment, shortly after renaming, while VBoxSVC is still running, all seems to be good. But once VBoxSVC terminates and later is forced to re-read configuration, the problem appears.

comment:2 13 年 前Vladimir Marek 編輯

This is still true with VirtualBox 4.0.8 . It seems that the problem appears only when the machine config xml file has suffix *.xml . If it has suffix *.vobx , I haven't seen the problem yet. It appears randomly, I haven't found a way to reproduce the issue reliably...

comment:3 11 年 前galitsyn 編輯

描述: 修改 (差異)

Could you please specify what host OS are you using, so we could provide a test build for you to confirm if the issue has been resolved?

comment:4 8 年 前aeichner 編輯

狀態: newclosed
處理結果: obsolete

Please reopen if still relevant with a recent VirtualBox release.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette