Bug 234215

Summary: freebsd-update renders system unusable
Product: Base System Reporter: oz42
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: grahamperrin
Priority: ---    
Version: 12.0-RELEASE   
Hardware: amd64   
OS: Any   

Description oz42 2018-12-20 14:35:17 UTC
While upgrading from 11.2-RELEASE to 12.0-RELEASE ("Components src world kernel"), freebsd-update forgets several essential files, e.g. libypclient.so or libgssapi_krb5.so

The reason for this may be that the 11.2 system was built from source without GSSAPI or YPCLIENT. But it is obvious that freebsd-update should install all needed libraries and not only those that exist on the system.

Upgrading from sources ("Components src") does not work, see bug #234203
Comment 1 oz42 2018-12-20 14:37:11 UTC
Sorry, I forgot to mention this: because of a missing libypclient.so, pam_unix.so is not loaded so no login is possible.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-12-19 16:54:23 UTC
(In reply to oz42 from comment #0)

> … the 11.2 system was built from source without GSSAPI or YPCLIENT. …

Does StrictComponents relate to this use case? 

<https://docs.freebsd.org/en/books/handbook/cutting-edge/#freebsdupdate-config-file>