Strange version number after upgrading to TrueNAS 13

Joined
Jul 11, 2017
Messages
2
After upgrading to 13 from 12.0-U8.1, when I SSH into the server I get a strange version number on the welcome message. freebsd-version returns the correct info. Here's the message:

Last login: Wed May 11 14:18:42 2022 from 192.168.0.24
FreeBSD ?.?.? (UNKNOWN)

TrueNAS (c) 2009-2022, iXsystems, Inc.
All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.

For more information, documentation, help or support, go here:
http://truenas.com
Welcome to FreeNAS

Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@freenas[~]# freebsd-version
13.1-RC6
root@freenas[~]#


Thanks.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You're not alone...

Not a major issue, but would be nice if somebody looks at it, so you can raise a bug in Jira if you have the time.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
This is an artifact of iX needing to set a version intermediate between 12.0-RELEASE and 13.0-RELEASE due to RC schedules being impacted by a late-breaking OpenSSL patch.

 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
This is an artifact of iX needing to set a version intermediate between 12.0-RELEASE and 13.0-RELEASE due to RC schedules being impacted by a late-breaking OpenSSL patch.


I think he may be referring to

FreeBSD ?.?.? (UNKNOWN)

This isn't really a problem. FreeBSD moved /etc/motd to /var/run/motd and now has an /etc/motd.template that is used by /etc/rc.d/motd to generate the /var/run/motd file.

In older FreeBSD's, the default /etc/motd file was updated in-place to remove the first line, assumed to hold the FreeBSD version, and then replace the first line with the remainder of the file concatenated to that new line. The /etc/motd shipped by FreeBSD as part of the release was .... wait for it .... "FreeBSD ?.?.? (UNKNOWN)".

Best guess, not having installed 13 yet, is that the TrueNAS folks aren't sufficiently OCD to have noticed this change, and they are still just slipping their own motd message in in a manner that is not quite compatible with the new motd design. Those of us who maintain our own variations on FreeBSD kinda groan and sigh at stuff like this, though in this case it does in fact bring things closer to "the way it probably should have always been".
 
Top