Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 07:36:21 +0000
From:      Anton Shterenlikht <lists@cmplx.uk>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        stable@freebsd.org, pkgbase@freebsd.org
Subject:   Re: [HEADS UP] stable/15: new base packages for PAM, zstd
Message-ID:  <aeh6ddAuDClL4YFn@cmplx.uk>
In-Reply-To: <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com>
References:  <adTq6tMP4GWQS35e@amaryllis.le-fay.org> <aeedOZ7VcQAOsQCV@cmplx.uk> <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com>

index | next in thread | previous in thread | raw e-mail

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


home | help

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