ci(homebrew): add HOMEBREW_NO_SANDBOX_LINUX=1 (temporary fix) #296
add-on-disable-checkout-test.yml
on: pull_request
Disable checkout test
44s
Annotations
2 errors and 1 warning
|
Disable checkout test
Process completed with exit code 1.
|
|
Disable checkout test
Bubblewrap is installed but cannot create a rootless sandbox.
Homebrew's Linux sandbox requires rootless Bubblewrap and unprivileged
user namespaces. Check and update this system configuration:
sudo sysctl -w kernel.unprivileged_userns_clone=1
Allows unprivileged processes to create user namespaces. Rootless
Bubblewrap needs this to isolate builds without elevated privileges.
sudo sysctl -w user.max_user_namespaces=28633
Allows each user to allocate enough user namespaces. A zero or low
limit can prevent Bubblewrap from creating its sandbox.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 || true
Allows unprivileged user namespaces on AppArmor-enabled systems
that restrict them by default. Older kernels may not provide this
setting.
As a final workaround, disable the Linux sandbox:
export HOMEBREW_NO_SANDBOX_LINUX=1
|
|
Disable checkout test
Skipping bats-core/bats-core because it is not trusted. Run `brew trust bats-core/bats-core` to trust it.
|