-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a sandboxed openssl.cnf file for phantomjs #353
Conversation
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
@laurentlb I have no idea on this one. You need to make judgement call. |
Ping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm not familiar with this at all, but the change looks simple and harmless.
I encountered the same problem on kali "2020.2"
|
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
Hi, i am still getting an error, Error: html-pdf: Received the exit code '1'\nhtml-pdf: Evaluation - ReferenceError: Can't find variable: $\nStack:\n at undefined\n |
Debian buster has 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: #351