Boinc and FreeNAS 11.1

Bandion

Cadet
Joined
Jan 30, 2016
Messages
9
I am trying to install boinc in a jail, but the installation is failing.
I have followed the post below, but it is for FreeNAS 9.3 and no longer works.
https://forums.freenas.org/index.ph...grid-in-a-freenas-9-3-jail.42738/#post-278409

and of course i failed at saving the errors...
Is there a way to install Boinc in a jail? The errors I received indicate the jail OS is no longer supported?

I will go through the installation again and post the errors I am getting...

Thanks
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Linux jails were deprecated and removed when FreeNAS went 64-bit only.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Linux jails were deprecated and removed when FreeNAS went 64-bit only.
...which was with the release of 9.3. This isn't a Linux jail. This is a FreeBSD jail, with some Linux compatibility stuff installed. I installed BOINC under 9.10 following that guide, and it worked for me, though I'm not running it currently (the extra 150 watts of power draw were a bit of a problem).

I don't know what the issue is, but a Linux jail isn't it. Edit: But posting the question in that thread might make more sense.
 

jde

Explorer
Joined
Aug 1, 2015
Messages
93
I have BOINC running in a jail on 11.1. I used the same guide you cited. It's been a while since I installed it, but my recollection is that I had to deviate from the guide and install a different version of the Linux base to get it to work. I'll try and take a look at it tonight and see if I can give you more specifics. Please post your error messages. Also, what project are you planning on running on BOINC?
 

jde

Explorer
Joined
Aug 1, 2015
Messages
93
Updating my earlier post:
1. I used the same linux_base-c6 from step 2.1 of the guide cited by OP.
2. On step 2.4 of the guide I used
Code:
compat.linux.osrelease=2.6.32

instead of 2.6.18
3. In the Freenas GUI advanced jail settings I had to add the following in Sysctls in order to get my particular project to run:
Code:
allow.sysvipc=1

My unsophisticated understanding is that this gives your jail privileged access to the parent Freenas memory. I haven't had any problems with it, but I believe it can cause security and/or stability issues. Proceed at your own risk.
4. Finally, to keep from having to recompile boinc-client every time you update the jail (See e.g. step 4.5 of the guide) run:
Code:
pkg lock boinc-client
 
Last edited:

Jatrabari

Contributor
Joined
Sep 23, 2017
Messages
100
I am planning to use BOINC in my server. Is this applicable to 11.2 iocages also?
 
Top