Version Bug?

Joined
May 2, 2017
Messages
211
I upgraded my old WARDEN jails to IOCAGE and they work fine. The interface shows they are running 11.0-RELEASE.

Jails.png


However, the shell tells a different story.

Uname.png


What gives?
 

samuel-emrys

Contributor
Joined
Dec 14, 2018
Messages
136
I upgraded my old WARDEN jails to IOCAGE and they work fine. The interface shows they are running 11.0-RELEASE.

View attachment 27470

However, the shell tells a different story.

View attachment 27471

What gives?
uname is an environment variable inherited when you enter the jail, so it's querying the kernel - the base of your FreeNAS host, and not the jail. This thread suggests executing file /bin/sh will quickly confirm the major release and what OSVERSION binaries are installed, i.e. it will tell you 11.0, 11.1 or 11.2, otherwise you can confirm from the host shell by executing iocage list
 
Joined
May 2, 2017
Messages
211
uname is an environment variable inherited when you enter the jail, so it's querying the kernel - the base of your FreeNAS host, and not the jail. This thread suggests executing file /bin/sh will quickly confirm the major release and what OSVERSION binaries are installed, i.e. it will tell you 11.0, 11.1 or 11.2, otherwise you can confirm from the host shell by executing iocage list

Ah. So the next logical question is.... How do I upgrade it?

I've tried #freebsd-update -r 11.2-RELEASE and I get errors that no mirrors can be found.
 

samuel-emrys

Contributor
Joined
Dec 14, 2018
Messages
136
Ah. So the next logical question is.... How do I upgrade it?

I've tried #freebsd-update -r 11.2-RELEASE and I get errors that no mirrors can be found.
From the freenas host shell: iocage upgrade <jailname> -r 11.2-RELEASE
 
Top