Bug 250378 - installworld fails in certctl.sh stage with /etc/ssl/certs non-existent
Summary: installworld fails in certctl.sh stage with /etc/ssl/certs non-existent
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.1-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-15 22:32 UTC by Juraj Lutter
Modified: 2020-10-15 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.