-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vboxwrapper (Mac): fix startup failure on Mac #6016
Conversation
The VBox home dir (where it keeps its files) is "/Library/Application Support/BOINC Data/.VirtualBox/", not ~/.Virtualbox (the latter may be inaccessible)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- samples/vboxwrapper/vbox_vboxmanage.cpp: Language not supported
Why is it .VirtualBox a hidden directory (starting with a period) on the Mac? I can understand making it hidden in the user's home directory because they might be puzzled to see a directory named VirtualBox there , but it seems that it would be better for debugging and tech support not to have hidden files or directories in the BOINC Data folder. |
This is what the VirtualBox manual states here:
|
Can someone compile it for me? I don't have Xcode at the moment. Then I can try to test it. |
Thanks! The wrapper is replaced immediately with the version of the server. (LHC Theory) Is it possible to force the wrapper in the app_config.xml? I could not find it in the documentation. EDIT: Force successful with the <dont_check_file_sizes>1</dont_check_file_sizes> option in cc_config.xml. Running now tasks of LHC. |
@NenTech And it would be nice if you could post your test results at the LHC@home forum including a link to the task/computer to check the logs. |
The tasks are running now with the new wrapper. I cannot find the directory at '/Library/Application Support/BOINC Data' |
Tasks are running over 1 hour. I don't see any activity. I still cannot find the .VirtualBox folder or the VBoxSVC.log file. The task is running but the VM and the vboxwrapper are not running. When I start the vboxwrapper manual via the CLI from the slot path, the VM is booting and failing due to communication error with the servers. |
As I pointed out here, the directory is hidden because its name starts with a period. You can see hidden files and directories using Terminal with the command Also, please make sure you ran the Mac_SA_Secure.sh script after replacing VBoxWrapper to fix its ownership and permissions, thus:
Finally, It's possible that the .VirtualBox/ directory and its contents may need to have their group set to boinc_project, which would require additional code in Mac_SA_Secure.sh and perhaps also the Mac installer and BOINC client. But I doubt that is needed since it worked with the .VirtualBox/ directory inside the projects directory (until the BOINC client was restarted and deleted it there.) |
Yes I tried that. And to narrow the issues I tried the following:
I think another change between 26207 and 26208 causes issues now. The 26206b wrapper gives the same issues on the VM. (No connection) I still need to test if the VM will start when the 26206b wrapper is used. |
The VBox home dir (where it keeps its files) is
"/Library/Application Support/BOINC Data/.VirtualBox/",
not ~/.Virtualbox (the latter may be inaccessible)
Fixes #6015