Back when I first started running boinc on FreeBSD, it was nice to find
that it detected the presence of VirtualBox and that I was able to
participate in Test4Theory.
But, later whenever I would check on things, I would see that its unable
to find it. In the past this has usually been a issue with boinc-client
starting before virtualbox is ready, but after solving a different
problem in rcordering (tmp/cleartmp being called after vboxheadless
has started, causing the socket in /tmp to vanish.)
I decided I needed to look deeper.
Fix: Eventually, I found that in hostinfo_unix.cpp, it looks in for
"/usr/lib/virtualbox/VBoxManage" if on a LINUX_LIKE system, or another
way for Mac OS X, but nothing for FreeBSD.
Don't know when it stopped supporting FreeBSD, but now suspect it might
been between the 6.x and 7.x versions. Seem to recall it was something
that had quickly been added near the end of 6.x, but designed into 7.
note: this port has no maintainer. Mark PR as patch-ready.
ugh, you hardcoded "/usr/local", I'm going to have to post-patch fetch that.
A commit references this bug:
Date: Sun Jul 27 09:36:58 UTC 2014
New revision: 363031
net/boinc-client: Fix to detect virtualbox again
The virtualbox path detection code has been patched to work on FreeBSD.
The PR submission was modified to avoid hardcoding /usr/local.
Submitted by: Lawrence Chen