[Bug 296202] Missing FreeBSD-set-*-jail packages on pkgbase distribution media

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Aug 2026 09:29:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296202

--- Comment #1 from Harald Schmalzbauer <bugzilla.freebsd@omnilan.de> ---
With this fix I have all required FreeBSD-set-jail-* offline available.

Digging further (utilizing 'bsdinstall jail /alt/:jails/sipby') I got an idea
why this issue wasn't noticed long ago:
./bsdinstall/pkgbase defines "/usr/share/bsdinstall/" as REPOS_DIR override,
which in turn defines
"pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_latest" as the only active
repository.

env BSDINSTALL_PKG_REPOS_DIR=/media/cdrom/usr/freebsd-packages/repos/
bsdinstall jail
would allow users to setup a jail from offile repos, but I guess for official
media it will fail due to missing (signing) key copy.

Then there's a glitch with the component selection dialog:
User does _not_ select 
"optional-jail"
but resulting (default jail) installation will include
FreeBSD-set-optional-jail,
as long as user doesn't additionally _DE-SELECT_ "base-jail".

There's no hint that "FreeBSD-set-minimal-jail" is mandatory/hidden
auto-selected.

The resulting setup contradicts the de-selected "optional-jail" user
decision/confirmation
because
pkg -r /alt/:jails/sipby info -d FreeBSD-set-base-jail
FreeBSD-set-base-jail-15.1.501.5~cust:
        FreeBSD-set-devel-15.1.501.5~cust
        FreeBSD-set-minimal-jail-15.1.501.5~cust
        FreeBSD-set-optional-jail-15.1.501.5~cust
and users won't _DE-SELECT_ "base-jail".

I'd suggest reconsidering whether the shadow config
"/usr/share/bsdinstall/FreeBSD-base.conf" could be dropped.
And the lua component selection dialog was much more userfriendly if we save
users trial'n'error repitition.

Are you interested in a lua-rookie patch for the component selection dialog?

What about the key-copy step - I noticed the is considered to be a temp hack
only, it it?

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