Date: Wed, 22 Apr 2026 14:47:09 -0700 From: Mark Millard <marklmi@yahoo.com> To: Lexi Winter <ivy@freebsd.org>, Anton Shterenlikht <lists@cmplx.uk>, stable@freebsd.org, pkgbase@freebsd.org Subject: Re: [HEADS UP] stable/15: new base packages for PAM, zstd Message-ID: <23bb166c-ec8e-4c98-b03c-5fbc7f364f2a@yahoo.com> In-Reply-To: <aek7L4X26D0zQTU-@amaryllis.le-fay.org> References: <adTq6tMP4GWQS35e@amaryllis.le-fay.org> <aeedOZ7VcQAOsQCV@cmplx.uk> <3847a70c-f2d8-4c4a-a5f0-56a4a90168b0@yahoo.com> <aeh6ddAuDClL4YFn@cmplx.uk> <aek7L4X26D0zQTU-@amaryllis.le-fay.org>
index | next in thread | previous in thread | raw e-mail
On 4/22/26 14:18, Lexi Winter wrote: > Anton Shterenlikht wrote in <aeh6ddAuDClL4YFn@cmplx.uk>: >> 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: >>>> 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. The above is not explicit about if the 14.x was pkgbase already or not. FYI for Anton: 14.*-RELELASE pkgbase is not officially Release Engineering/Security supported the way 15.0 pkgbase is, by the way. 14.* has not been updated to match what 15.0 did to have such pkgbase support. 14.x's pkgbase -> 15.0 pkgbase upgrade sequence is somewhat special because of that --and not fully documented. >>>> >>>> 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? > > no, something has gone wrong here. > > how did you install this system? > > /etc/master.passwd is in the FreeBSD-runtime package, which must always > be installed on a pkgbase system. the only reason 'pkg upgrade' would > overwrite it with a pristine copy is if you somehow didn't have that > package installed, but if that was the case, the system would already > be completely non-functional. A 14.x FreeBSD-runtime package would be replaced by a 15.0-RELEASE-p4 package would it not (if that pkgbase -> pkgbase upgrade is the type of upgrade that was done)? Would that produce a .pkgsave file for the /etc/master.passwd (given the RE-unsupported nature of 14.* pkgbase)? > > the only way i can imagine this happening if you had a non-pkgbase > system, then installed FreeBSD-runtime (e.g., as a dependency of > FreeBSD-set-minimal), but this should not be possible in a normal > non-pkgbase installation since the FreeBSD-base repository won't > be enabled. -- === Mark Millard marklmi at yahoo.comhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23bb166c-ec8e-4c98-b03c-5fbc7f364f2a>
