Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2024 15:22:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 209628] freebsd-update upgrade broken in jail
Message-ID:  <bug-209628-227-bXtDf0YzFh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209628-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209628-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209628

--- 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 jai=
ls
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 ja=
il
or not, which is exactly what `freebsd-update` needs.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209628-227-bXtDf0YzFh>