From nobody Wed Apr 22 07:36:21 2026 X-Original-To: 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 4g0rd74Nlfz6bfkJ; Wed, 22 Apr 2026 07:36:27 +0000 (UTC) (envelope-from lists@cmplx.uk) Received: from cmplx.uk (cmplx.uk [185.139.32.190]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "cmplx.uk", Issuer "cmplx.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g0rd7014Fz3TM6; Wed, 22 Apr 2026 07:36:26 +0000 (UTC) (envelope-from lists@cmplx.uk) Authentication-Results: mx1.freebsd.org; none Received: from cmplx.uk (localhost [127.0.0.1]) by cmplx.uk (8.18.1/8.18.1) with ESMTPS id 63M7aMHk084641 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 22 Apr 2026 07:36:22 GMT (envelope-from lists@cmplx.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmplx.uk; s=default; t=1776843383; bh=zJJo8LsTsqFUE4T5s1Agy4xRqdVVGGrXeQlUTblJ2qQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=TvAjv0MqincEXiYuGmrvaAxcDfzFnZARvPy/f5HgoQUOlM8O8QPlIF0AoZCnkJbtY pupQ51TYLB1paLXs/z3TrWhh1f2dGJZHG2gccOZWGC3ihA2R2PzD1bfrKpIRNDq+ii J8L6F57CHdo86ou+htGjrwcBtog4x0wR1siibeus= Received: (from lists@localhost) by cmplx.uk (8.18.1/8.18.1/Submit) id 63M7aL4k084640; Wed, 22 Apr 2026 07:36:21 GMT (envelope-from lists) Date: Wed, 22 Apr 2026 07:36:21 +0000 From: Anton Shterenlikht To: Mark Millard Cc: stable@freebsd.org, pkgbase@freebsd.org Subject: Re: [HEADS UP] stable/15: new base packages for PAM, zstd Message-ID: References: <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com> 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:25795, ipnet:185.139.32.0/24, country:US] X-Rspamd-Queue-Id: 4g0rd7014Fz3TM6 X-Spamd-Bar: ---- On Tue, Apr 21, 2026 at 12:52:43PM -0700, Mark Millard wrote: > On 4/21/26 08:52, Anton Shterenlikht wrote: > > On Tue, Apr 07, 2026 at 12:30:50PM +0100, Lexi Winter wrote: > >> hello, > >> > >> i've just MFC'd two commits to stable/15[0] which add new packages for > >> OpenPAM (FreeBSD-pam*) and Zstandard (FreeBSD-zstd*). if you have > >> set-minimal installed, you do not need to do anything; the new packages > >> will be installed automatically the next time you run pkg upgrade. > >> > >> if you do *not* have set-minimal installed (because you didn't install > >> with bsdinstall, or because you removed it after installation), you MUST > >> install the FreeBSD-pam package, otherwise you will no longer be able to > >> log into the system after updating. > >> > >> to display the sets you currently have installed, use this command: > >> > >> % pkg query -e '%n ~ FreeBSD-set-*' '%n' > >> > >> [0] 95cc7f59b7ce "libpam: Move to a new "pam" package" > >> 8c61751d078e "zstd: Move to a new zstd package" > > > > > > I recently upgraded Lenovo T480 laptop from some 14.x relase to 15.0-RELEASE-p4. > > I'm still figuring out the use of pkg for base upgrades. > > > > For a few weeks all was working more or less well (some unexpected > > reboots, but I had no time to dig into that). > > > > After reading your mail, I typed the pkg query command you suggested, > > which returned nothing. > > I then did "pkg install FreeBSD-set-minimal". > > When that completed, I realised that my user is gone.... > > > > Looking at /etc/passwd and /etc/master.passwd I see that indeed > > my user is not there anymore. > > Did you end up with the likes of: > > /etc/passwd.pkgsave > /etc/master.passwd.pkgsave Yes, I have /etc/master.passwd.pkgsave So what happened? Is it expected that "pkg install FreeBSD-set-minimal" should erase all ordinary users from /etc/master.passwd and save the original file as /etc/master.passwd.pkgsave? Was I wrong to do "pkg install FreeBSD-set-minimal" on 15.0-RELEASE-p4? Shall I just copy the /etc/master.passwd.pkgsave back to /etc/master.passwd? Thank you Anton