From nobody Wed Aug 6 17:40:36 2025 X-Original-To: freebsd-pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bxyJ12SBlz641HQ; Wed, 06 Aug 2025 17:40:49 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo73.interia.pl (smtpo73.interia.pl [217.74.67.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bxyJ06G44z3dZ4; Wed, 06 Aug 2025 17:40:48 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; none Date: Wed, 06 Aug 2025 19:40:36 +0200 From: vermaden Subject: Re: PKGBASE Removes FreeBSD Base System Feature To: Ceri Davies Cc: "FreeBSD-pkgbase@freebsd.org" , "freebsd-stable@freebsd.org" , "freebsd-pkg@freebsd.org" , "freebsd-current@freebsd.org" X-Mailer: interia.pl/pf09 In-Reply-To: <7E69E694-963C-4D69-B5B5-891330FF16A2@submonkey.net> References: <7E69E694-963C-4D69-B5B5-891330FF16A2@submonkey.net> X-Originating-IP: 45.148.42.1 Message-Id: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1754502040; bh=yTYOqzOYh5xOWB/Z5nZEWcQWfh6+0cK3dSq8VNZDF/I=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=Q5TPEYJ9xuShW0rKXhYz9sgomBS4k1x050+wZ8IMPU8CvnXL3Ng6xx3amhRBj2kIp XpEk1OiZnKoOkrMEhzuALsQW6uOptPGYklHPDw5ucddHnl2J1Qb8LounSW8uucyv49 X9mFn0dK+y9GudElu9ohENyCjq58O2hgr310qPRE= X-Rspamd-Queue-Id: 4bxyJ06G44z3dZ4 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL] > Because that=E2=80=99s what you asked for. > Why would the command do anything other than that? > If it did not, what command should and would you oppose it existing? The problem is that the same 'pkg delete -af' command - will behave DIFFERE= NTLY with PKGBASE and without PKGBASE on the same FreeBSD version system - = that is the center of the problem. Everyone that use FreeBSD got used to the fact that pkg(8) command maintain= s only third party packages and Base System is untouched. With current stat= e of PKGBASE FreeBSD is no different then a Linux distribution with yum/dnf= /apt package manager - the Base System 'security' is broken. Regards, vermaden Temat: Re: PKGBASE Removes FreeBSD Base System Feature Data: 2025-08-06 18:45 Nadawca: "Ceri Davies" <ceri@submonkey.net> Adresat: "vermaden" <vermaden@interia.pl>;=20 DW: FreeBSD-pkgbase@freebsd.org; freebsd-stable@freebsd.org; freebsd-pkg@fr= eebsd.org; freebsd-current@freebsd.org;=20 >> On 30 Jul 2025, at 01:28, vermaden wrote: >>=20 >> =EF=BB=BFHi, >>=20 >> after short discussion here: >> - https://github.com/freebsd/pkg/issues/2485 >>=20 >> I got REALLY concerned. >>=20 >> One of THE features and selling points of a FreeBSD UNIX system is the 'untouchable' Base System. >>=20 >> Without PKGBASE all the features are preserved. >>=20 >> But when You convert to PKGBASE its ... GONE! >>=20 >> Consider this command: >>=20 >> # pkg delete -af >>=20 >> What it does? >>=20 >> It removes all third party packages on 'classic' FreeBSD system without touching the FreeBSD Base System. >>=20 >> What the same "pkg delete -af" command does on a PKGBASE FreeBSD system? >>=20 >> It kills/destroys almost all of the FreeBSD Base System and leaves only two PKGBASE packages called: >>=20 >> - FreeBSD-clibs >> - FreeBSD-runtime >>=20 >> All the rest of Base System is GONE. Destroyed. >>=20 >> You do not even have vi(1) editor ad /rescue is separate not protected FreeBSD-rescue package and its also removed. >>=20 >> WTF?! >>=20 >> POLA is the principle that made FreeBSD such predictable system. Where is the POLA now? >> Why the same *pkg delete -af* command on 'classic' FreeBSD system without PKGBASE only removes all third party packages and the same *pkg delete -af* literally destroys most of the FreeBSD PKGBASE Base System? >=20 > Because that=E2=80=99s what you asked for. Why would the command do anything other than that? If it did not, what command should and would you oppose it existing? >=20 > Ceri=20 >=20 >=20