Bug 250378

Summary: installworld fails in certctl.sh stage with /etc/ssl/certs non-existent
Product: Base System Reporter: Juraj Lutter <otis>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me CC: kevans, lwhsu
Priority: ---    
Version: 12.1-STABLE   
Hardware: Any   
OS: Any   

Description Juraj Lutter freebsd_committer freebsd_triage 2020-10-15 22:32:55 UTC
On recent 12-STABLE with /etc/ssl/certs directory absent, installworld fails with:

--------------------------------------------------------------
>>> Installing everything completed on Fri Oct 16 00:11:26 CEST 2020
--------------------------------------------------------------
Scanning /usr/share/certs/blacklisted for certificates...
Scanning /usr/share/certs/trusted for certificates...
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
...
install: /etc/ssl/certs: realpath: No such file or directory
Scanning /usr/local/share/certs for certificates...
install: /etc/ssl/certs: realpath: No such file or directory
Scanning /usr/local/etc/ssl/certs for certificates...
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
install: /etc/ssl/certs: realpath: No such file or directory
*** Error code 71

Stop.
make[1]: stopped in /usr/src
*** Error code 1

certctl.sh should check for presence of CERTDESTDIR and exit gracefuly if not present.
Comment 1 Juraj Lutter freebsd_committer freebsd_triage 2021-02-28 20:34:50 UTC
I guess we can close this, I have not been able to reproduce it.