On Fri, Jun 23, 2017 at 12:37:38PM +0200, Paul de Weerd wrote:
> On Fri, Jun 23, 2017 at 04:28:15AM -0600, Theo de Raadt wrote:
> | >         /mnt/usr/sbin/chroot /mnt /usr/local/libexec/reorder_kernel
> | >
> | > ...
> | > 
> | > +               mail -Es "$(hostname) Kernel relink info" root >/dev/null
> | 
> | No, that isn't cool.
> | 
> | Yes, we are going to link in the install media.  But not by reusing code
> | that way.  Any chroot handling must be done much more carefully, and
> | select the right commands/subsystems to use more carefully.
> 
> Hmm, I see your point.  I liked the idea of moving the rc bits into a
> separate script so people following 'Upgrading manually' could benefit
> more easily, but obviously didn't think the constraints of bsd.rd through
> enough.

Perhaps we'll come up with a simpler way down the road, but it isn't
*that* hard for manual upgrades. once you've installed the kernels, make
sure you've got the correct hash:

        sha256 -h /var/db/kernel.SHA256 /bsd

and the rc script will do the rest after the next reboot. I think this
is bearable.

Reply via email to