Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a sandboxed openssl.cnf file for phantomjs
Debian buster ahs changed /etc/ssl/openssl.cnf far enough that the openssl built into phantomjs can't parse it. I found this out by stracing a test run and watching it access /etc/ssl/openssl.cnf. We want bazel to not rely on anything outside the sandbox. The error that is returned otherwise is: 140302110000960:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory 140302110000960:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 140302110000960:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf 140302110000960:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf Fixes: bazelbuild#351
- Loading branch information