Thread View: muc.lists.freebsd.stable
3 messages
3 total messages
Started by Mark Millard
Thu, 12 Nov 2026 16:00
Re: FreeBSD 15.2-BETA1 Now Available
Author: Mark Millard
Date: Thu, 12 Nov 2026 16:00
Date: Thu, 12 Nov 2026 16:00
85 lines
9167 bytes
9167 bytes
On 11/12/26 07:07, vermaden wrote: > Hi, > > On 11/12/26 7:52 AM, Mark Millard wrote: >>>> for updating either kind of system! >>> Yes its possible - but I while pkgbase-update(8) does >>> >>> everything in one step + reboot >> Any update/upgrade technique that does not reboot into the new kernel >> before having some new world code become active risks the new world code >> used failing for lack of kernel updates/upgrades it depends on. >> >> It the same reason that the source upgrade document has that reboot >> between the 2, the instructions being intended to allow for UFS. Nothing >> about pkgbase of itself removes the technical issue. > > > If You first create new ZFS BE and then do the upgrade > > inside - I do not see any 'risk' here - You are basically > > replacing or extracting new files into that ZFS BE. In > > the next step You 'activate' that ZFS BE and reboot into > > it. It was possible even with freebsd-update(8) command > > as shown for example below and its possible with PKGBASE: > > https://vermaden.wordpress.com/2021/02/23/upgrade-freebsd-with-zfs-boot- > environments/ It is certainly true that appropriate use of ZFS BE's can avoid executing new world code with the old kernel despite having only one reboot. > > > >> Of course, UFS contexts are more constrained by not having alternate >> boot environments as a way to not run the newly installed world at >> all until rebooting after the world is installed. >> >> While I use a ZFS system, I use a lot more UFS systems. (It is a >> deliberate mix.) > > > > On UFS You can use UFS Boot Environments - they work slightly > > different but the end results is mostly the same - even on ARM. > > Details here: > > https://vermaden.wordpress.com/2021/04/02/ufs-boot-environments/ > > https://vermaden.wordpress.com/2021/04/05/ufs-boot-environments-for-arm/ I do not know how common it is for folks to use your UFS technique. I have only more classical UFS contexts, deliberately following more classical upgrade sequences. The standard images for the few small board computers that get such are not set up for your UFS technique and pkgbasify does not convert such to a context with your technique. Not that such would matter to folks wanting to use your technique and are willing to manually set up for it. > > > Regards, > > vermaden > -- === Mark Millard marklmi at yahoo.com -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: FreeBSD 15.2-BETA1 Now Available
Author: John D Groenveld
Date: Thu, 12 Nov 2026 16:09
Date: Thu, 12 Nov 2026 16:09
17 lines
4419 bytes
4419 bytes
In message <04f8bdff-3ab3-466b-acec-99b738692c13@yahoo.com>, Mark Millard write s: >It is certainly true that appropriate use of ZFS BE's can avoid >executing new world code with the old kernel despite having only one reboot. When/how does pkg-post-install code get invoked? <URL:https://docs.freebsd.org/en/books/porters-handbook/pkg-files/> John groenveld@acm.org -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: FreeBSD 15.2-BETA1 Now Available
Author: Mark Millard
Date: Thu, 12 Nov 2026 17:04
Date: Thu, 12 Nov 2026 17:04
37 lines
7666 bytes
7666 bytes
On 11/12/26 08:09, John D Groenveld wrote: > In message <04f8bdff-3ab3-466b-acec-99b738692c13@yahoo.com>, Mark Millard write > s: >> It is certainly true that appropriate use of ZFS BE's can avoid >> executing new world code with the old kernel despite having only one reboot. > > When/how does pkg-post-install code get invoked? > <URL:https://docs.freebsd.org/en/books/porters-handbook/pkg-files/> Good question: Are such scripts are deferred to after the reboot or not. If not, does the procedure in use has them executing via a chroot into the BE being updated --vs.: using the live soon-to-be-old BE. Not that such a chroot would deal with old kernel vs. new world code execution issues absent deferral. Sorry for the incompleteness. I also implicitly assumed the FreeBSD OS upgrade was via, say, -rFreeBSD-base (so: just pkgbase) so that port-packages would not be involved prior to the reboot into new kernel and world combination. > > John > groenveld@acm.org > > -- === Mark Millard marklmi at yahoo.com -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads