[Bug 209628] freebsd-update upgrade broken in jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jan 2024 15:22:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209628

--- Comment #5 from Leif Pedersen <leif@ofWilsonCreek.com> ---
I guess I don't see the point of examining sysctl or branching differently when
in a jail. There's actually no need for `freebsd-update` to be aware of jails
at all, nor be aware of the currently running kernel. The whole point of
`freebsd-version` is to indicate what is currently installed, be it in a jail
or not, which is exactly what `freebsd-update` needs.

The command `UNAME_r=$(freebsd-version) freebsd-update` works in all cases I'm
aware of. `freebsd-update` just needs to be changed to default to it.

-- 
You are receiving this mail because:
You are the assignee for the bug.