Bug 250378

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

Description Juraj Lutter 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.