[Bug 275847] freebsd-update IDS doesn't detect missing files and directories

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Dec 2023 23:11:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275847

            Bug ID: 275847
           Summary: freebsd-update IDS doesn't detect missing files and
                    directories
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: kit-ty-kate@outlook.com

I’ve recently upgraded my local FreeBSD install to 14.0-RELEASE-p3, however i
seem to have made a mistake in not upgrading to the latest errata first.

This means that I fell into
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661 and the
/usr/include/c++/v1/__string/ directory and all its content is missing from my
system, which causes me to fail at compiling any basic C++ project.

While trying to debug why those files were missing i came accross the
"freebsd-update IDS" command which seemed to be meant to check if my system was
correctly installed. However that command does not tell me that this directory
is missing.

Here is the only output i got from it:
```
$ freebsd-update IDS
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 14.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
/etc/group has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/hosts has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/master.passwd has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/passwd has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/pwd.db has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/shells has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/spwd.db has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/etc/ssh/sshd_config has SHA256 hash XYZ, but should have SHA256 hash XYZ.
/root has 0755 permissions, but should have 0750 permissions.
/var/db/mergemaster.mtree has SHA256 hash XYZ, but should have SHA256 hash XYZ.
```

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