Skip to content

Commit

Permalink
NO-ISSUE: Disable AppArmor allowing unpriviledge user namespace to fi…
Browse files Browse the repository at this point in the history
…x VS Code E2E tests (apache#2808)
  • Loading branch information
ljmotta authored Dec 15, 2024
1 parent 5f57f14 commit ed78bdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ runs:
libxml2-utils > /dev/null 2>&1
fi
- name: "Allow unprivileged user namespace (Ubuntu Only)"
if: runner.os == 'Linux'
shell: bash
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

- name: "Update bash for macOS (macOS Only)"
shell: bash
if: runner.os == 'macOS'
Expand Down

0 comments on commit ed78bdb

Please sign in to comment.