Date: Sun, 10 Aug 2025 10:33:05 +0100 From: David Chisnall <theraven@FreeBSD.org> To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Cc: David G Lawrence <dg@dglawrence.com>, Warner Losh <imp@bsdimp.com>, Michal Meloun <mmel@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: PKGBASE Removes FreeBSD Base System Feature Message-ID: <558632AE-5331-4339-A979-BA6F9B9C0840@FreeBSD.org> In-Reply-To: <20250809224836.f7207c3be3fbc8e0fd97f856@dec.sakura.ne.jp> References: <20250809062925.GN26557@mailx.dglawrence.com> <929543B2-633E-44B5-B6F6-F292CCEADAB3@freebsd.org> <20250809065247.GO26557@mailx.dglawrence.com> <96820ff6-bdb0-4d25-ad78-502e30b7e479@FreeBSD.org> <20250809185418.7d272536dd5862d0bdfd39c2@dec.sakura.ne.jp> <20250809101145.GS26557@mailx.dglawrence.com> <CANCZdfpebFm3CwwOWNeyCzq2=1CWVcJLYKDc63Y-94K_d_PV1w@mail.gmail.com> <20250809114244.GU26557@mailx.dglawrence.com> <20250809224836.f7207c3be3fbc8e0fd97f856@dec.sakura.ne.jp>
index | next in thread | previous in thread | raw e-mail
On 9 Aug 2025, at 14:48, Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote: > > As Vermaden replied to different thread of this topic, his issue > seems to be "in jail". IIUC, he attempted to deinstall everything > installed PkgPkg (in contrast with PkgBase) keeping PkgBase world > in the jail intact, but result was everything including PkgBase > in the jail was deinstalled and made the jail unkillable. > And stating there should be kinda "safety net" for such a case. It’s worth noting that this is precisely the kind of thing that the OCI model avoids entirely. You don’t *upgrade* a container, you create container images from a description, you create container instances from images. The issue of uninstalling things in a container never arises, because you simply destroy the container and create a new one and import persistent data as volumes. dch@, dfr@, and others have done phenomenal work to enable jails as the isolation mechanism for OCI containers and pkgbase is a key part of making this useful. Davidhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558632AE-5331-4339-A979-BA6F9B9C0840>
