Guest User

Dave - Versioning

a guest
Jul 6th, 2016
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Hi Allan & Kris
  2.  
  3. thanks for the show as always. A couple of questions regarding updates:
  4.  
  5. 1. How do you know your FreeBSD system is up to date, assuming we're
  6. using a GENERIC kernel and the trusty freebsd-update utility?
  7.  
  8. For example, I notice often after running `freebsd-update fetch install`
  9. & rebooting, that freebsd-version is not consistent - why is that?
  10.  
  11. > freebsd-version -ku
  12.  
  13. 10.3-RELEASE-p4
  14. 10.3-RELEASE-p5
  15.  
  16. In FreeBSD 10, uname(1) gained support for the -K and -U flags & in
  17. 11.0-CURRENT there's an extension to periodic.conf that uses this to
  18. tell us whether kernel and user space are aligned:
  19.  
  20. > uname -KU
  21. 1003000 1003000
  22.  
  23. Which seems fine but doesn't match
  24.  
  25. To top it off:
  26.  
  27. > sysctl kern.version
  28. kern.version: FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016
  29. root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  30.  
  31. > sysctl kern |fgrep .os
  32. kern.ostype: FreeBSD
  33. kern.osrelease: 10.3-RELEASE-p4
  34. kern.osrevision: 199506
  35. kern.osreldate: 1003000
  36.  
  37. Who can we trust these days?
  38.  
  39. 2. Running mergemaster or etcupdate manually is impractical with
  40. automation tools, so how do people manage /etc during upgrades across a
  41. large fleet of FreeBSD servers?
  42.  
  43. A+
  44. Dave
Add Comment
Please, Sign In to add comment