Re: FreeBSD 15.0-RELEASE: Trouble after upgrade

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Tue, 02 Dec 2025 15:40:37 UTC
On Tue, Dec 2, 2025 at 6:33 PM Dave Cottlehuber <dch@skunkwerks.at> wrote:

> On Tue, 2 Dec 2025, at 12:21, Odhiambo Washington wrote:
> > I have upgraded my FreeBSD 14.3-RELEASE to 15.0-RELEASE using freebsd
> update.
> >
> > There is trouble in paradise:
>
> Hi Odhiambo,
>
> Oh dear :-(
>
> > Dec  2 15:13:00 gw /usr/sbin/cron[88206]: in try_dlopen():
> > /usr/lib/pam_nologin.so.6: /lib/libutil.so.10: Undefined symbol
> > "initgroups@FBSD_1.8"
> > Dec  2 15:13:00 gw /usr/sbin/cron[89387]: in try_dlopen():
> > /usr/lib/pam_nologin.so.6: /lib/libutil.so.10: Undefined symbol
> > "initgroups@FBSD_1.8"
>
> I'm guessing userland & kernel are out of sync, did you run
> freebsd-update both before & after reboot?
>

Yes, I did.
I thought I had all this in my head.
freebsd-update upgrade -r 15.0-RELEASE; freebsd-update install; reboot;
freebsd-update install; reboot
I must have forgotten about the last reboot, because after it, some issues
resolved themselves.


> Try running `freebsd-update install` again, and see if that
> sorts it.
>

 I did that and nothing was returned as there was nothing more to be
installed.


> What does `freebsd-version -kru` show you?
>
> ditto for `uname -a`?
>

root@gw:/usr/ports/emulators/qemu # freebsd-version -kru
15.0-RELEASE
15.0-RELEASE
15.0-RELEASE
root@gw:/usr/ports/emulators/qemu # uname -a
FreeBSD gw.wash.lan 15.0-RELEASE FreeBSD 15.0-RELEASE
releng/15.0-n280995-7aedc8de6446 GENERIC amd64
root@gw:/usr/ports/emulators/qemu #

I did portupgrade -a, and things seem to have all gone well, but not
installing qemu-guest-agent is giving me grief about some libs.
I did a backup of my VM before upgrading so if these troubles persist, I
will just restore and wait for 15.1


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]