jails TrueNAS jail - FreeBSD 13.5

Hello,

I've installed a FreeBSD13.5 jail on my TrueNAS machine. After creating the jail, I installed the gitlab-ce port and after adding the enable entries into my rc.conf file, I'm getting the message that says these entries are missing (even though, they aren't).

# Disable Sendmail by defaultsendmail_enable="NO"
sendmail_submit_enable="NO"sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
# Run secure syslogsyslogd_flags="-c -ss"
# Enable IPv6
ipv6_activate_all_interfaces="YES"
# Enable GitLabgitlab_enable = "YES"
gitlab_pages_enable = "YES"
git_daemon_enable = "YES"
redis_enable = "YES"sentinel_enable = "YES"
kpropd_enable = "YES"avahi-daemon_enable = "YES"
avahi-dnsconfd_enable = "YES"
cupsd_enable = "YES"
dbus_enable = "YES"
~
~
:q
root@GitLabBSD:~ # service gitlab start
/etc/rc.conf: gitlab_enable: not found
/etc/rc.conf: gitlab_pages_enable: not found
/etc/rc.conf: git_daemon_enable: not found
/etc/rc.conf: redis_enable: not found
/etc/rc.conf: sentinel_enable: not found
/etc/rc.conf: kpropd_enable: not found
/etc/rc.conf: avahi-daemon_enable: not found
/etc/rc.conf: avahi-dnsconfd_enable: not found
/etc/rc.conf: cupsd_enable: not found
/etc/rc.conf: dbus_enable: not found
/etc/rc.conf: gitlab_enable: not found
/etc/rc.conf: gitlab_pages_enable: not found
/etc/rc.conf: git_daemon_enable: not found
/etc/rc.conf: redis_enable: not found
/etc/rc.conf: senti
 
I had a hunch and I should've trusted myself.

root@GitLabBSD:~ # find /* -name 'rc.conf'
/etc/rc.conf
/etc/defaults/rc.conf
/var/db/etcupdate/current/etc/defaults/rc.conf

I shall use sysrc and call it a day ;-)
 

TrueNAS always uses outdated/EOL Versions of FreeBSD and you can't run newer (i.e. supported) than the host in a jail.
 

TrueNAS always uses outdated/EOL Versions of FreeBSD and you can't run newer (i.e. supported) than the host in a jail.
This isn’t technically true in all cases. For example, back in the good ole days (when TrueNAS was BSD based) we ran 13.4 jails against a 13.3 TrueNAS host no problem.

The problem (as I think the OP figured out) was that the values have spaces in them. Using sysrc is the correct way to assign these vars.
 
For example, back in the good ole days (when TrueNAS was BSD based) we ran 13.4 jails against a 13.3 TrueNAS host no problem.
No, running a higher version jail was (and still is) never supported.
 
Back
Top