Closed pchampin closed 4 months ago
@pchampin There's a --disable-sandbox
option in respec
CLI that maps to puppeteer --no-sandbox
. If that works for you, we can perhaps make that the default way forward.
here's a
--disable-sandbox
option inrespec
CLI
Aaaaahhhh! Any reason for not calling it --no-sandbox
, then? :wink:
It would make sense as the error message explicitly suggests this: you can try using --no-sandbox
.
Aaaaahhhh! Any reason for not calling it --no-sandbox, then? π
π Will add alias in CLI. We had disableGPU
which mapped to Chrome's --disable-gpu
flag, so likely used for consistency.
Not sure if we should use --no-sandbox
always, given docs say:
Running without a sandbox is strongly discouraged. Consider configuring a sandbox instead.
Opinions @marcoscaceres?
I'd set this in spec-prod though (as it uses ubuntu-latest, which will soon map to ubuntu-24.04 there), if it errors there.
Can we switch spec-prod to run on macOS temporarily? Running without sandbox sounds scary.
And yeah, I guess itβs ok to add an option for cli.
Since I upgraded to Ubuntu 24.04, the command-line version of respec is not working. I found a workaround, but I need help to propose a more sustainable solution.
Description of problem
Running
respec
in the command line, I get the following error message:Workaround
Here is the part of the Ubuntu 24.04 release note that seems to be relevant
https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions-15
The following workaround did the trick
but it affects all applications on the system, so that's no ideal.
It seems that if Respec was running chromium with the
--no-sanbox
option, this would solve the problem. (Note that I had a similar issue with an electron base application, and using the--no-sandbox
option did solve the problem).