🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.bsd.freebsd.misc
7 messages
7 total messages Started by Kalevi Kolttonen Mon, 02 Nov 2026 19:29
FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#1
Author: Kalevi Kolttonen
Date: Mon, 02 Nov 2026 19:29
35 lines
1998 bytes
Hello,

I am running FreeBSD 15.1-RELEASE on amd64.

pkg upgrade completed and after that I did:

freebsd-version fetch
freebsd-version install
reboot

But the kernel and userspace are mismatched:

root@fbsd15:~ # freebsd-version -kru
15.1-RELEASE-p5
15.1-RELEASE-p5
15.1-RELEASE-p6

What am I doing wrong?

root@fbsd15:~ # freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 15.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 15.1-RELEASE-p6.
root@fbsd15:~ # freebsd-update install
src component not installed, skipped
No updates are available to install.
Run 'freebsd-update [options] fetch' first.

br,
KK
Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#2
Author: Kalevi Kolttonen
Date: Mon, 02 Nov 2026 19:39
14 lines
1480 bytes
Kalevi Kolttonen <kalevi@kolttonen.fi> wrote:
> [...]
> But the kernel and userspace are mismatched:
> 
> root@fbsd15:~ # freebsd-version -kru
> 15.1-RELEASE-p5
> 15.1-RELEASE-p5
> 15.1-RELEASE-p6

Hmmm, I guess this is normal and the kernel
simply was not updated this time, right?

br,
KK
Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#4
Author: Winston
Date: Wed, 04 Nov 2026 06:58
21 lines
1984 bytes
kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
> freebsd-version fetch
> freebsd-version install
> reboot

I assume you meant "freebsd-update", not "freebsd-version".
I'm also assuming what you typed above is all you've done so far.

> But the kernel and userspace are mismatched:
[...]
> What am I doing wrong?

When upgrading to a new release, one typically does fetch, install,
reboot (as you did above), then once the system is running, a second
install and reboot.  The first "freebsd-update install" should have
printed a message telling you to reboot and then run install again.
After the second reboot, the kernel and userspace should match.

After that, it's usually also good to "pkg upgrade" or "pkg upgrade -f"
and reboot yet again.
 -WBE
Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#5
Author: Kalevi Kolttonen
Date: Wed, 04 Nov 2026 12:20
52 lines
3007 bytes
Winston <wbe@ubeblock.psr.com.invalid> wrote:
> kalevi@kolttonen.fi (Kalevi Kolttonen) wrote:
>> freebsd-version fetch
>> freebsd-version install
>> reboot
> 
> I assume you meant "freebsd-update", not "freebsd-version".
> I'm also assuming what you typed above is all you've done so far.

Yes, sorry, those were just unfortunate typos, I did freebsd-update.

>> But the kernel and userspace are mismatched:
> [...]
>> What am I doing wrong?
> 
> When upgrading to a new release, one typically does fetch, install,
> reboot (as you did above), then once the system is running, a second
> install and reboot.  The first "freebsd-update install" should have
> printed a message telling you to reboot and then run install again.
> After the second reboot, the kernel and userspace should match.
> 
> After that, it's usually also good to "pkg upgrade" or "pkg upgrade -f"
> and reboot yet again.

Here is actual copy-paste of what I just tried:

root@fbsd15:~ # freebsd-version -kru
15.1-RELEASE-p5
15.1-RELEASE-p5
15.1-RELEASE-p6
root@fbsd15:~ # freebsd-update install
src component not installed, skipped
No updates are available to install.
Run 'freebsd-update [options] fetch' first.
root@fbsd15:~ # freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 15.1-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 15.1-RELEASE-p6.
root@fbsd15:~ # freebsd-update install
src component not installed, skipped
No updates are available to install.
Run 'freebsd-update [options] fetch' first.

So, I am stuck with p5 kernel...

br,
KK
Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#13
Author: Winston
Date: Wed, 04 Nov 2026 15:00
51 lines
2833 bytes
kalevi@kolttonen.fi (Kalevi Kolttonen) writes:
> root@fbsd15:~ # freebsd-version -kru
> 15.1-RELEASE-p5
> 15.1-RELEASE-p5
> 15.1-RELEASE-p6

Interesting.  I hadn't tried that since upgrading to -p6.
I tried it and got the same result as you.  The nightly
security report does not say there's a mismatch.

So, apparently that's the way it is.

Speaking of -p6, I'm confused about -p7.

The nightly security report this morning said:

FreeBSD-15.1_6 is vulnerable:
  sqlite3 -- multiple vulnerabilities
  CVE: CVE-2026-119371
  CVE: CVE-2026-119372
  CVE: CVE-2026-119373
  CVE: CVE-2026-119374
  CVE: CVE-2026-119375
  CVE: CVE-2026-119376
  CVE: CVE-2026-119377
  CVE: CVE-2026-119378
  CVE: CVE-2026-119379
  CVE: CVE-2026-119591
  WWW: https://vuxml.FreeBSD.org/freebsd/84cd82e1-d49f-11f1-bae2-3497f65b111b.html

which says:

  Affected packages:
  15.1 <= FreeBSD < 15.1_7

and

  Ten vulnerabilities fixed in SQLite 3.54.0 ...

I "pkg upgrade"d sqlite3 to 3.54.1,1 two days ago without thinking
that sqlite3 might have come from freebsd-update instead of pkg.

Doing "freebsd-update fetch" just now, I get "No updates needed to
update system to 15.1-RELEASE-p6".  Also, https://www.freebsd.org/,
which normally lists security vulnerabilities important enough to cause
a -p# change under Security advisories, and important package changes
under Errata notices, doesn't mention sqlite3 or -p7 (yet?).

So, I'm not sure what's going on regarding -p7.
Maybe things will clear up in a day or two.
 -WBE
Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched
#11
Author: Anton Antimo
Date: Sat, 07 Nov 2026 23:10
73 lines
3419 bytes
Winston <wbe@UBEBLOCK.psr.com.invalid> writes:

> kalevi@kolttonen.fi (Kalevi Kolttonen) writes:
>> root@fbsd15:~ # freebsd-version -kru
>> 15.1-RELEASE-p5
>> 15.1-RELEASE-p5
>> 15.1-RELEASE-p6
>
> Interesting.  I hadn't tried that since upgrading to -p6.
> I tried it and got the same result as you.  The nightly
> security report does not say there's a mismatch.
>
> So, apparently that's the way it is.

I got the same result, so that's my interpretation as well.

$ freebsd-version -kru
15.1-RELEASE-p5
15.1-RELEASE-p5
15.1-RELEASE-p6

> Speaking of -p6, I'm confused about -p7.
>
> The nightly security report this morning said:
>
> FreeBSD-15.1_6 is vulnerable:
>   sqlite3 -- multiple vulnerabilities
>   CVE: CVE-2026-119371
>   CVE: CVE-2026-119372
>   CVE: CVE-2026-119373
>   CVE: CVE-2026-119374
>   CVE: CVE-2026-119375
>   CVE: CVE-2026-119376
>   CVE: CVE-2026-119377
>   CVE: CVE-2026-119378
>   CVE: CVE-2026-119379
>   CVE: CVE-2026-119591
>   WWW: https://vuxml.FreeBSD.org/freebsd/84cd82e1-d49f-11f1-bae2-3497f65b111b.html
>
> which says:
>
>   Affected packages:
>   15.1 <= FreeBSD < 15.1_7
>
> and
>
>   Ten vulnerabilities fixed in SQLite 3.54.0 ...
>
> I "pkg upgrade"d sqlite3 to 3.54.1,1 two days ago without thinking
> that sqlite3 might have come from freebsd-update instead of pkg.
>
> Doing "freebsd-update fetch" just now, I get "No updates needed to
> update system to 15.1-RELEASE-p6".  Also, https://www.freebsd.org/,
> which normally lists security vulnerabilities important enough to cause
> a -p# change under Security advisories, and important package changes
> under Errata notices, doesn't mention sqlite3 or -p7 (yet?).
>
> So, I'm not sure what's going on regarding -p7.
> Maybe things will clear up in a day or two.

I also saw this.  I don't know.  My hypothesis is:

  Just because we have a warning of a vulnerability, it doesn't mean
  we'll have a patch ready to be applied.

There are more packages with problems without patches.  Say

  $ sudo pkg audit -F 
  [...]

to your shell.

If the hypothesis is false, please let me know.  Thanks.
certbot crash after upgrade (solved) (Was: Re: FreeBSD 15.1-RELEASE: Kernel and userspace mismatched)
#12
Author: Anton Antimo
Date: Sat, 07 Nov 2026 23:19
50 lines
3546 bytes
Anton Antimo <anton@safunu.org> writes:

> Winston <wbe@UBEBLOCK.psr.com.invalid> writes:
>
>> kalevi@kolttonen.fi (Kalevi Kolttonen) writes:
>>> root@fbsd15:~ # freebsd-version -kru
>>> 15.1-RELEASE-p5
>>> 15.1-RELEASE-p5
>>> 15.1-RELEASE-p6
>>
>> Interesting.  I hadn't tried that since upgrading to -p6.
>> I tried it and got the same result as you.  The nightly
>> security report does not say there's a mismatch.
>>
>> So, apparently that's the way it is.
>
> I got the same result, so that's my interpretation as well.
>
> $ freebsd-version -kru
> 15.1-RELEASE-p5
> 15.1-RELEASE-p5
> 15.1-RELEASE-p6

And, FWIW, after this upgrade, I got in trouble with certbot.  Here's
what I found with my weekly script.

Traceback (most recent call last):
  File "/usr/local/bin/certbot-3.11", line 5, in <module>
    from certbot.main import main
  File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, in <module>
    from certbot._internal import main as internal_main
  File "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", line 24, in <module>
    from acme import client as acme_client
  File "/usr/local/lib/python3.11/site-packages/acme/client.py", line 20, in <module>
    import requests
  File "/usr/local/lib/python3.11/site-packages/requests/__init__.py", line 164, in <module>
    from .api import delete, get, head, options, patch, post, put, request
  File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 11, in <module>
    from . import sessions
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 15, in <module>
    from .adapters import HTTPAdapter
  File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 81, in <module>
    _preloaded_ssl_context.load_verify_locations(
ssl.SSLError: unknown error (_ssl.c:4181)

I don't know why this happened, but I solved it by refreshing the
package catalog and installing python 3.12 (alongside python 3.11, the
previous version I had), deleting cerbot and reinstalling it.  The
latest version seems to use python 3.12 and that took care of the
problem.  I don't know if this was required, but that's what I did.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads