[Bug 265853] freebsd-update(8): new kernel produces pretty different what(1)'s output

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Aug 2022 10:04:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265853

            Bug ID: 265853
           Summary: freebsd-update(8): new kernel produces pretty
                    different what(1)'s output
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: egypcio@FreeBSD.org

ISSUE:

  after updating 13.1-RELEASE to 13.1-RELEASE-p1 using freebsd-update(8), the
output produced by what(1) is pretty different and does not present the proper
branch and git revision as in old 13.1-RELEASE's kernel.

HOW TO REPRODUCE:

  0. install a vanilla FreeBSD 13.1-RELEASE machine;
  1. check the output of `what -qs /boot/kernel/kernel` before updating your
system;
  2. update the base system using `freebsd-update fetch install`
  3. reboot the machine (because a new kernel was installed);
  4. check that output of step 1. again.

user23lab9@freebsd:~ % freebsd-version -kru
13.1-RELEASE-p1
13.1-RELEASE-p1
13.1-RELEASE-p1

user23lab9@freebsd:~ % what -qs /boot/kernel/kernel
FreeBSD 13.1-RELEASE-p1 GENERIC

user23lab9@freebsd:~ % what -qs /boot/kernel.old/kernel
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC

user23lab9@freebsd:~ % uname -abiUK
FreeBSD freebsd.kvm.localdomain 13.1-RELEASE-p1 FreeBSD 13.1-RELEASE-p1 GENERIC
amd64 GENERIC 1301000 1301000 5899e32947db26168b53c075c51ae45e0773bb12

IMPACT:

  this is, AFAIK, affecting *all* users of freebsd-update(8).

-- 
You are receiving this mail because:
You are the assignee for the bug.