Difference between 'uname -a' and 'freebsd-version' (inside jail)

Status
Not open for further replies.

mwittemans

Cadet
Joined
Jul 26, 2016
Messages
8
All,

I'm trying to figure out the difference between the out put of 'uname -a' and 'freebsd-version', in a jail created in FreeNAS-11.1-U5 with the default jail template '.warden-template-standard-11.0-x64'.

root@tserver:~ # uname -a
FreeBSD tserver 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+e0c4ca60dfc(freenas/11.1-stable): Wed May 30 14:18:20 EDT 2018 root@nemesis.tn.ixsystems.com:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64
root@tserver:~ # freebsd-version
11.0-RELEASE-p1

according to the template sure I must be running 11.0, but uname suggest differently.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Yes you are running 11.0 with a Warden based jail. Warden is being replaced with iocage going forward. Search the forum, there are literally hundreds of post about it.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
uname is a system call, so it's probably just being passed to the kernel, which replies with its version, which is indeed 11.1 something.
 
Status
Not open for further replies.
Top