Solved freebsd-version in 11.0R

I have just installed a couple of systems with a clean 11.0-RELEASE amd64. After first boot, both freebsd-version and uname -a show FreeBSD 11.0-RELEASE-p1. But if I do a freebsd-update fetch install followed by a reboot, then freebsd-version displays 11.0-RELEASE-p10 while uname -a displays 11.0-RELEASE-p9.

Is it normal for the two to show different patch levels?
 
freebsd-version -uk shows both versions.

And yes, as Phishfry already mentioned, it's possible the kernel has a lower patch number than the userland. The version string is hard-coded into the kernel at compile time. So if a patch doesn't update the kernel it will stay at the 'old' version.
 
Back
Top