Solved Update confused

Hi forum
I did a freebsd-update fetch, freebsd-update install, and reboot.
Believe I'm now having the latest version
Code:
# uname -a
FreeBSD freebsd13-desktop 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64

But after another freebsd-update fetch I notice :
Code:
No updates needed to update system to 13.2-RELEASE-p5.
What does this mean ? Should I be having -p4 or -p5 ?
TIA's
 
  • Thanks
Reactions: mro
Thanks for that.
I've never previously noticed these -p versions being out-of-sync.
Good to know.
 
If a patch update doesn't involve the kernel, the kernel is not rebuild. And therefor the version string (baked into the kernel) won't change.
 
I just updated and got

$ uname -a
FreeBSD beethoven 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64

$ freebsd-version
13.2-RELEASE-p5

I think I will be upgrading to 14 as soon as it's officially released so this doesn't seem to be a problem to me.
 
As SirDice explained, that's expected as these updates didn't affect the kernel. So, even if you weren't planning to update (I think 14-RELEASE is next week, November 14), it wouldn't have any adverse affect unless you're bothered by uname and freebsd-version showing different patch levels. (That's not meant as an insult, just that maybe some people get annoyed by that.)
 
Thanks for all feedback and comments above. Happily, my undertanding and appreciation of the separation of kernel from userland is growing.
 
You can build your own kernel/userland from sources.
Bash:
git pull /usr/src
cd /usr/src
make buildkernel
make installkernel
shutdown -r now
After reboot:
Code:
 uname -a                                                                                                                                                  
FreeBSD amy_bsd 13.2-RELEASE-p5 FreeBSD 13.2-RELEASE-p5 #0 releng/13.2-n254643-3a088f485f74-dirty: Wed Nov  8 09:56:41 EET 2023
 
Why rebuild the kernel? The only thing changing is a version string, that's it.
 
Well unless he uses that "uname" information for something else like some system maintenance database for support or something there's no need to recompile the kernel.
 
In zabbix I keep track of freebsd-version -u, that tells me enough to know if patches have been applied everywhere.
 
Because I'm always upgrading my system from sources. It's a habit from the dark ages. :) (FreeBSD-4.11]) Binary upgrades were available after version 6.x.
 
freebsd-version -ru seems to help clarify any variations in patch level/s between kernel and userland.
Code:
# freebsd-version -ru
13.2-RELEASE-p4
13.2-RELEASE-p7
 
Back
Top